AnsweredAssumed Answered

Alfresco Share Advance Search Configuration

Question asked by rutaveejshah on Jul 3, 2013
Latest reply on Jul 4, 2013 by afaust
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.

Outcomes