<?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: How to put relative path on Smart Folders query? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27280#M11737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need dynamic smart folders you may have to implement a script / behaviour to dynamically create the query template based on the (parent) folder with the specific aspect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 14:55:11 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-03-27T14:55:11Z</dc:date>
    <item>
      <title>How to put relative path on Smart Folders query?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27277#M11734</link>
      <description>Hi,I have following structure of physical and smart folder&lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;irectory-One+-Subdir-1|+-Subdir-2|+-MySmartFolder &amp;lt;--- smart folder directoryOn my smart folder search query path, how to define the 'relative path' instead of absolute path (e.g. PATH:'/app:company_home/st:sites/cm:finance-site/cm:docum</description>
      <pubDate>Mon, 27 Mar 2017 10:34:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27277#M11734</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2017-03-27T10:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to put relative path on Smart Folders query?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27278#M11735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no such thing as a relative path for the Alfresco FTS query syntax which is used to define the query for virtual folders. You always have to use a path starting from the root.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:05:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27278#M11735</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-03-27T14:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to put relative path on Smart Folders query?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27279#M11736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A __default_attr="73554" __jive_macro_name="user" _jive_internal="true" data-id="73554" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/afaust" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;So, what's the best approach to make smart folders are inside dynamic (physical) folders created?&lt;/P&gt;&lt;P&gt;My smart folders are functions to detect an aspect of folders which their parent folder were created dynamically / projects or cases based.&lt;/P&gt;&lt;P&gt;Thank you,-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:52:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27279#M11736</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2017-03-27T14:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to put relative path on Smart Folders query?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27280#M11737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need dynamic smart folders you may have to implement a script / behaviour to dynamically create the query template based on the (parent) folder with the specific aspect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:55:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27280#M11737</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-03-27T14:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to put relative path on Smart Folders query?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27281#M11738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I will try and update it here.&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 14:59:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27281#M11738</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2017-03-27T14:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to put relative path on Smart Folders query?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27282#M11739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did You solve this problem, Bayu? I have the same or a similar one: I have a folder "A" with a type based smart folder "B" in it. I want the smart folder query to show only the results from the folder "A" where the smart folder "B" is in. How can I achieve that?&lt;/P&gt;&lt;P&gt;Axel Faust said, implement a script. But where has the script to reside and when is it supposed to be executed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 14:56:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27282#M11739</guid>
      <dc:creator>peterk</dc:creator>
      <dc:date>2017-06-30T14:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to put relative path on Smart Folders query?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27283#M11740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter,&lt;/P&gt;&lt;P&gt;My question is come when I want to implement it as a template folder (Repository &amp;gt; Data Dictionary &amp;gt; Space Templates), hence when the folder created it will have a relative query to its parent. But as Axel said it couldn't do this approach since smart folder doesn't support relative path. I thought you can still query with absolute path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I drop this requirement (space templates approach) and create a Javascript based behavior solution as explained in Jeff Potts' blog:&lt;BR /&gt;&lt;A class="link-titled" href="http://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" title="http://ecmarchitect.com/alfresco-developer-series-tutorials/behaviors/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;Implementing Custom Behaviors in Alfresco | ECMArchitect | Alfresco Developer Tutorials&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;[bayu]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Jul 2017 04:31:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27283#M11740</guid>
      <dc:creator>billydekid</dc:creator>
      <dc:date>2017-07-01T04:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to put relative path on Smart Folders query?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27284#M11741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I found a solution, at least for my use case:&lt;/P&gt;&lt;P&gt;I added to my query:&lt;/P&gt;&lt;P&gt;... &amp;nbsp;and (=PARENT:'&amp;lt;sys:store-protocol&amp;gt;://&amp;lt;sys:store-identifier&amp;gt;/&amp;lt;sys:node-uuid&amp;gt;' or =PRIMARYPARENT:'&amp;lt;sys:store-protocol&amp;gt;://&amp;lt;sys:store-identifier&amp;gt;/&amp;lt;sys:node-uuid&amp;gt;')&lt;/P&gt;&lt;P&gt;This way I limit my search on items, who's Parent or Primary Parent NodeRef is equal to the NodeRef of the physical parent folder of my current smart folder location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 16:22:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-put-relative-path-on-smart-folders-query/m-p/27284#M11741</guid>
      <dc:creator>peterk</dc:creator>
      <dc:date>2017-07-03T16:22:00Z</dc:date>
    </item>
  </channel>
</rss>

