<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Two advanced search forms for one type? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/two-advanced-search-forms-for-one-type/m-p/45167#M18246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to define two different advanced search forms for one type? Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;config evaluator="string-compare" condition="AdvancedSearch"&amp;gt;&lt;BR /&gt; &amp;lt;advanced-search&amp;gt;&lt;BR /&gt; &amp;lt;!-- Forms for the advanced search type list --&amp;gt;&lt;BR /&gt; &amp;lt;forms&amp;gt;&lt;BR /&gt; &amp;lt;form labelId="one form"&lt;BR /&gt; descriptionId="search.form.desc.cm_folder"&amp;gt;ex:document&amp;lt;/form&amp;gt;&lt;BR /&gt; &amp;lt;form labelId="two form"&lt;BR /&gt; descriptionId="search.form.desc.cm_folder"&amp;gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;ex:document&lt;/SPAN&gt;&amp;lt;/form&amp;gt;&amp;nbsp;&lt;BR /&gt; &amp;lt;/forms&amp;gt;&lt;BR /&gt; &amp;lt;/advanced-search&amp;gt;&lt;BR /&gt; &amp;lt;/config&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I know it doesnt sound very logic, but they will differ in number of field visible on form. I tried to define for one form custom type and give that type parent of&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6;"&gt;ex:document, like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;type name="ex:establishment"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;parent&amp;gt;ex:document&amp;lt;/parent&amp;gt;&lt;BR /&gt; &amp;lt;/type&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but this doesnt work, when I search, It gives me 0 results, It looks like the inherited properties doesnt get indexed for that type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2019 10:26:29 GMT</pubDate>
    <dc:creator>deny7</dc:creator>
    <dc:date>2019-03-08T10:26:29Z</dc:date>
    <item>
      <title>Two advanced search forms for one type?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/two-advanced-search-forms-for-one-type/m-p/45167#M18246</link>
      <description>Is it possible to define two different advanced search forms for one type? Like this:&amp;lt;config evaluator="string-compare" condition="AdvancedSearch"&amp;gt; &amp;lt;advanced-search&amp;gt; &amp;lt;!-- Forms for the advanced search type list --&amp;gt; &amp;lt;forms&amp;gt; &amp;lt;form labelId="one form" descriptionId="search.for</description>
      <pubDate>Fri, 08 Mar 2019 10:26:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/two-advanced-search-forms-for-one-type/m-p/45167#M18246</guid>
      <dc:creator>deny7</dc:creator>
      <dc:date>2019-03-08T10:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Two advanced search forms for one type?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/two-advanced-search-forms-for-one-type/m-p/45168#M18247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could define a custom avanced search form for the type "ex:establishment" and another for "ex:document".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first one search for elements of type "ex:establishment" and his descendants and the second one for elements of type "ex:document" and descendants including "ex:establishment".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if "ex:document" have no other sons and there aren't contents of this type both forms have to search on the same group of nodes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 16:17:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/two-advanced-search-forms-for-one-type/m-p/45168#M18247</guid>
      <dc:creator>roberto_gamiz</dc:creator>
      <dc:date>2019-03-08T16:17:44Z</dc:date>
    </item>
  </channel>
</rss>

