AnsweredAssumed Answered

Search for content type

Question asked by alarocca on Mar 5, 2011
Latest reply on Mar 11, 2011 by alarocca

into my custom model I defined a base content type, for instance my:doc (parent is cm:content), and some properties. Then I created few other content types having my:doc as parent (for instance, my:subdoc1, my:subdoc2, my:subdoc3, ..).

Within share-config-custom.xml I created the following configuration for search on my:doc:

   <config evaluator="model-type" condition="my:doc">
            <form id="search">
            <show id="my:number" />
            <show id="my:date" />
            <show id="my:name" />
                  <field id="my:date">
                        <control template="/org/alfresco/components/form/controls/daterange.ftl" />
Is ti possible to add to the search form a control (like selectmany.ftl) for searching on those sub content types (ie, my:subdoc1, my:subdoc2, my:subdoc3, …).

Best regards,