<?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: Custom advanced search, blank dropdowns by default in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/custom-advanced-search-blank-dropdowns-by-default/m-p/133771#M36023</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/55313"&gt;@davidzuluaga5&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi! I have an advanced search and currently I have a limitation: the dropdowns select always a value by default. I need that the dropdown values are not included if users does not select a value manually. So it should be a blank or something similar by default.&lt;/P&gt;
&lt;P&gt;Could someone point me in the right direction? thanks.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;Checkout the solutions here:&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/share-customization-could-not-make-the-advanced-searching-with/m-p/302958/highlight/true#M21906" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/share-customization-could-not-make-the-advanced-searching-with/m-p/302958/highlight/true#M21906&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Two possible solutions:&lt;/P&gt;
&lt;P&gt;1-&amp;nbsp;You can use a custom form template for that property that will display all the values along with default blank&lt;/P&gt;
&lt;P&gt;2-&amp;nbsp;Add the "" (empty) in constraint list used for a property defined in your content model.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Sep 2021 14:36:38 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2021-09-02T14:36:38Z</dc:date>
    <item>
      <title>Custom advanced search, blank dropdowns by default</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-advanced-search-blank-dropdowns-by-default/m-p/133770#M36022</link>
      <description>&lt;P&gt;Hi! I have an advanced search and currently I have a limitation: the dropdowns select always a value by default. I need that the dropdown values are not included if users does not select a value manually. So it should be a blank or something similar by default.&lt;/P&gt;&lt;P&gt;Could someone point me in the right direction? thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 13:46:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-advanced-search-blank-dropdowns-by-default/m-p/133770#M36022</guid>
      <dc:creator>davidzuluaga5</dc:creator>
      <dc:date>2021-09-02T13:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom advanced search, blank dropdowns by default</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-advanced-search-blank-dropdowns-by-default/m-p/133771#M36023</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/55313"&gt;@davidzuluaga5&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi! I have an advanced search and currently I have a limitation: the dropdowns select always a value by default. I need that the dropdown values are not included if users does not select a value manually. So it should be a blank or something similar by default.&lt;/P&gt;
&lt;P&gt;Could someone point me in the right direction? thanks.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;Checkout the solutions here:&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/share-customization-could-not-make-the-advanced-searching-with/m-p/302958/highlight/true#M21906" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/share-customization-could-not-make-the-advanced-searching-with/m-p/302958/highlight/true#M21906&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Two possible solutions:&lt;/P&gt;
&lt;P&gt;1-&amp;nbsp;You can use a custom form template for that property that will display all the values along with default blank&lt;/P&gt;
&lt;P&gt;2-&amp;nbsp;Add the "" (empty) in constraint list used for a property defined in your content model.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 14:36:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-advanced-search-blank-dropdowns-by-default/m-p/133771#M36023</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-09-02T14:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Custom advanced search, blank dropdowns by default</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-advanced-search-blank-dropdowns-by-default/m-p/133772#M36024</link>
      <description>&lt;P&gt;I have a same use case where I need to add blank or empty string as first option so user can have a choice to select or not.&lt;/P&gt;&lt;P&gt;But in advance search I want to select all document if user select blank, will this work with above solution?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 03:56:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-advanced-search-blank-dropdowns-by-default/m-p/133772#M36024</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2021-09-03T03:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom advanced search, blank dropdowns by default</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/custom-advanced-search-blank-dropdowns-by-default/m-p/133773#M36025</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/36939"&gt;@sanjaybandhniya&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a same use case where I need to add blank or empty string as first option so user can have a choice to select or not.&lt;/P&gt;
&lt;P&gt;But in advance search I want to select all document if user select blank, will this work with above solution?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That is not something template/setting blank would handle. It has be to and update in search query. Also you can extend the &lt;A href="https://github.com/Alfresco/alfresco-community-repo/tree/master/amps/share-services/src/main/resources/alfresco/templates/webscripts/org/alfresco/slingshot/search" target="_self" rel="nofollow noopener noreferrer"&gt;search library&lt;/A&gt; to add an additonal check when blank is selected do the required search as per your requirement.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 16:48:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/custom-advanced-search-blank-dropdowns-by-default/m-p/133773#M36025</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-09-03T16:48:19Z</dc:date>
    </item>
  </channel>
</rss>

