<?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: Dynamic query in Smartfolder in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51009#M19433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot - Will follow this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Aug 2018 11:34:32 GMT</pubDate>
    <dc:creator>brijeshnk</dc:creator>
    <dc:date>2018-08-15T11:34:32Z</dc:date>
    <item>
      <title>Dynamic query in Smartfolder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51003#M19427</link>
      <description>Hi All,I&amp;nbsp; have folllowing usecaseUser upload documents in Alfresco with metadata attached&amp;nbsp; for all the uploaded documents&amp;nbsp; -&amp;nbsp; for eg 'Policy number' .&amp;nbsp;A user from other group -&amp;nbsp; Need to query using document with metadata&amp;nbsp; ( 'Policy number' )&amp;nbsp; , while querying user input policy number.To implement th</description>
      <pubDate>Tue, 14 Aug 2018 09:32:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51003#M19427</guid>
      <dc:creator>brijeshnk</dc:creator>
      <dc:date>2018-08-14T09:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query in Smartfolder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51004#M19428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would say no, smart folders are mostly static saved queries (there is no user input).&lt;/P&gt;&lt;P&gt;It seems that you need some form like advance search form, or even a custom dashlet. For simple searches, for example, based on the policy number field, you can also use Alfresco Full Search Text syntax in search box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/5.2/concepts/rm-searchsyntax-fields.html" title="https://docs.alfresco.com/5.2/concepts/rm-searchsyntax-fields.html" rel="nofollow noopener noreferrer"&gt;Search in fields | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 15:12:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51004#M19428</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-08-14T15:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query in Smartfolder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51005#M19429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you can do with Smart Folders though is have a smart folder template which includes metadata / properties set on the folder node as query parameters. In the smart folder template you can use placeholders for these properties that are then replace at query time with the current property value on the folder. So if your "user input" is that they can change&amp;nbsp;this metadata on the folder to which you have applied the smart folder template, then they can dynamically affect the query of the folder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 09:00:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51005#M19429</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-08-15T09:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query in Smartfolder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51006#M19430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot for the respone ,&amp;nbsp; based on your anser another query poped-up as follows:-&lt;/P&gt;&lt;P&gt;Is it possible to show the metadata as parameter&amp;nbsp; in search critiera using a dropdown &amp;nbsp; -&amp;nbsp; This will helps user to select specific metada from dropdown and enter values to execute search.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 09:57:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51006#M19430</guid>
      <dc:creator>brijeshnk</dc:creator>
      <dc:date>2018-08-15T09:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query in Smartfolder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51007#M19431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Axel Faust , i think i got the exact solution for the problem. I will goahead and try-out this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another query is -&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume that , i can dynamically set the meta-data to folder based on user input&amp;nbsp; , but will be&amp;nbsp; smart folder will get updated/refreshed automatically&amp;nbsp; ?&amp;nbsp; or&amp;nbsp; Should i execute a script to do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thansk a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 10:05:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51007#M19431</guid>
      <dc:creator>brijeshnk</dc:creator>
      <dc:date>2018-08-15T10:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query in Smartfolder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51008#M19432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you change the metadata of the folder, the results of the query for the folder contents will change the next time the contents are requested. Depending on how you update the metadata, the UI may still show the contents based on the old data, so you might need to reload / refresh the UI to see the updated results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 11:30:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51008#M19432</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-08-15T11:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query in Smartfolder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51009#M19433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot - Will follow this &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 11:34:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51009#M19433</guid>
      <dc:creator>brijeshnk</dc:creator>
      <dc:date>2018-08-15T11:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query in Smartfolder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51010#M19434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Axel Faust , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would be the right&amp;nbsp; approach to override advance search option to set metatdata values to a folder ?&amp;nbsp; I have customised advanced search option to show custom metadata .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user enter the values , i need to set this as part of folder meta-data.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 11:46:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51010#M19434</guid>
      <dc:creator>brijeshnk</dc:creator>
      <dc:date>2018-08-17T11:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query in Smartfolder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51011#M19435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure I understand this one. Do you already have a different question thread open for this? Why would one want to set the search input for advanced search as metadata on a folder? If the folder matches the input (requirement for even showing up) there should be no need to set the values since they must already be present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 13:17:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51011#M19435</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-08-20T13:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic query in Smartfolder</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51012#M19436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Axel ,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the response !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have customised advance search form to add my custom&amp;nbsp; meta-data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next wat i am trying to do is : -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set metadata values&amp;nbsp; selected by user in advanced search form to Smart folder which i have defined . I am trying to achieve this when user click on Search button in advanced form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User selected values from advanced form will be set&amp;nbsp; to metadata of Smart-folder&amp;nbsp; - ( Smart folder then execute query to fetch the list of documents from repo) ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am tryint to achive using code&amp;nbsp; on_click of search button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to override the &lt;CODE class=""&gt;ADVSearch_onSearchClick , &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;please let me is this approach is right ?&amp;nbsp; please let share a link which explain the overriding onSearchClick method . &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Where i should add code to overrride ? &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;thanks a lot &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;Brijesh &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 13:34:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dynamic-query-in-smartfolder/m-p/51012#M19436</guid>
      <dc:creator>brijeshnk</dc:creator>
      <dc:date>2018-08-20T13:34:33Z</dc:date>
    </item>
  </channel>
</rss>

