cancel
Showing results for 
Search instead for 
Did you mean: 

Add new search field to Advanced search

twchiam
Champ in-the-making
Champ in-the-making
Hi,

I would like to add an additional search field "Type" (drop down list) to advanced search. This field is equivalent to the Type drop down list in Alfresco explorer's add content screen. By default, it contains 4 options but I have added several new types such as Audio and Video with custom aspect

1. Article
2. Content
3. General Image
4. Visitor feedback list
5. Audio
6. Video


Appreciate if anyone knows the solution.

           <types>
      <type name="tgr:video">
         <title>Video</title>
         <parent>cm:content</parent>
         <mandatory-aspects>
            <aspect>tgr:temporal</aspect>
         </mandatory-aspects>
      </type>
      <type name="tgr:audio">
         <title>Audio</title>
         <parent>cm:content</parent>
         <mandatory-aspects>
            <aspect>tgr:temporal</aspect>
         </mandatory-aspects>
      </type>
   </types>
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
This tutorial on custom content types talks about how to do that in Share.

Jeff