<?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 Re: Advanced Search on Custom Type Property with 'OR' in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-on-custom-type-property-with-or/m-p/293591#M246721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was just trying to figure out if a custom control was the way to go on this, of if there's a way to use an out-of-the-box control to get this working. I'd love any pointers, as I'm sure this sort of thing has been done before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2014 18:22:22 GMT</pubDate>
    <dc:creator>b_victor</dc:creator>
    <dc:date>2014-05-02T18:22:22Z</dc:date>
    <item>
      <title>Advanced Search on Custom Type Property with 'OR'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-on-custom-type-property-with-or/m-p/293590#M246720</link>
      <description>I am on 4.2.e Community, trying to customize Share advanced search.&amp;nbsp; I have a custom type, aq:qualityDoc defined, with a property named aq:documentType defined as:&amp;lt;property name="aq:documentType"&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Document Type&amp;lt;/title&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;index enabl</description>
      <pubDate>Wed, 30 Apr 2014 22:14:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-on-custom-type-property-with-or/m-p/293590#M246720</guid>
      <dc:creator>b_victor</dc:creator>
      <dc:date>2014-04-30T22:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search on Custom Type Property with 'OR'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-on-custom-type-property-with-or/m-p/293591#M246721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was just trying to figure out if a custom control was the way to go on this, of if there's a way to use an out-of-the-box control to get this working. I'd love any pointers, as I'm sure this sort of thing has been done before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 18:22:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-on-custom-type-property-with-or/m-p/293591#M246721</guid>
      <dc:creator>b_victor</dc:creator>
      <dc:date>2014-05-02T18:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search on Custom Type Property with 'OR'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-on-custom-type-property-with-or/m-p/293592#M246722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm pulling my hair out on this… this seems like very basic functionality, but I can't get it to work.&amp;nbsp; I've followed all the tutorials and forum posts I can find, but the search doesn't work correctly.&amp;nbsp; If I use a "selectone.ftl" control on a search form, the search is limited to the default selection (i.e. no way to have "nothing" selected).&amp;nbsp; If I use a "selectmany.ftl" control, the search doesn't work when more than one is selected, because the selection gets translated into the query as a comma separated list.&amp;nbsp; How can one do advanced search on list-constrained properties? Any pointers appreciated… &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 May 2014 22:42:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-on-custom-type-property-with-or/m-p/293592#M246722</guid>
      <dc:creator>b_victor</dc:creator>
      <dc:date>2014-05-05T22:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Search on Custom Type Property with 'OR'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-search-on-custom-type-property-with-or/m-p/293593#M246723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved this with something of a hack. In the share-config-custom.xml I set the appearance element for the control as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;field id="aq:documentType" label-id="prop.aq_documentType"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;control template="/org/alfresco/components/form/controls/selectone.ftl" &amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;control-param name="options"&amp;gt;|Any,Description,Policy,Procedure,Evidence,Form,Other&amp;lt;/control-param&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/control&amp;gt;&lt;BR /&gt;&amp;lt;/field&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The control defaults to the "|Any" which uses Any as a label, but is blank and hence omitted when evaluated for the query string. The problem with this solution is that you can't search on multiple values at once, and the values are hard-coded in the custom config file making maintenance harder.&amp;nbsp; Both of these are unfortunate, but at least the core functionality is there.&amp;nbsp; If anyone has a better way to solve this, I'd love to hear it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 04:07:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-search-on-custom-type-property-with-or/m-p/293593#M246723</guid>
      <dc:creator>b_victor</dc:creator>
      <dc:date>2014-05-06T04:07:16Z</dc:date>
    </item>
  </channel>
</rss>

