cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Share Advance Search Configuration

rutaveejshah
Champ in-the-making
Champ in-the-making
Hi
I am using alfresco community Edition 4.0d
I am created a new conten model in alfresco share.I want search based on my new content model I have added a new type in share-config.xml. Now for form purpose i write the code that is shown below in share-config-custom.xml

<config evaluator="model-type" condition="my:DocumentDetails">
      <forms>
         <!– Search form –>
         <form id="search">
            <field-visibility>
               <show id="cm:name" force="true"/>
               <show id="my:DocumentCategory" force="true" />
               <show id="my:DocumentNumber" force="true" />
            </field-visibility>
         <appearance>
            <field id="my:DocumentCategory" label="Document Category">
            <control template="/org/alfresco/components/form/controls/selectone.ftl" />
         </field>
         <field id="my:DocumentNumber" label="Document Number" />
         </appearance>
         </form>
      </forms>
   </config>

But i could not find the form for my new content type. Only keyword field is avilable.

Please any body have any idea please reply as early as possible.

1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

have you configured your form as an advanced search form as outlined in the <a href="http://wiki.alfresco.com/wiki/Share_Advanced_Search#Search_Form_Example>wiki</a>?

Regards
Axel