<?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: Smart Folder compare custom aspect with current username in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-compare-custom-aspect-with-current-username/m-p/143918#M38207</link>
    <description>&lt;P&gt;For other utility here the string i used:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;(PATH:'/app:company_home/st:sites/cm:my-private-site/cm:documentLibrary/cm:Customers/*' AND TYPE:'cusfil:CustomerFile' ) AND cusfil:Referent: '%CURRENT_USER%'&lt;/PRE&gt;</description>
    <pubDate>Wed, 29 Sep 2021 07:26:34 GMT</pubDate>
    <dc:creator>TheCondor</dc:creator>
    <dc:date>2021-09-29T07:26:34Z</dc:date>
    <item>
      <title>Smart Folder compare custom aspect with current username</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-compare-custom-aspect-with-current-username/m-p/143916#M38205</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i'm trying to accomplish a simple model for a smart folder:&lt;/P&gt;&lt;P&gt;i've a custom model applied to a lot of standard folders, one aspect of the model is "fascli:RefercePerson" which could be A, B, C... while A, B, C are also the username used in alfresco.&lt;/P&gt;&lt;P&gt;The smart folder should search in the site and select only the folders where fascli:ReferencePerson == current username.&lt;/P&gt;&lt;P&gt;The first part is ok, i can query in the node browser for fascli:referencePerson == A (or B etc) but i don't know how use current_username variable as comparing value instead of a static string.&lt;BR /&gt;Thanks in advance to all!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 08:10:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-compare-custom-aspect-with-current-username/m-p/143916#M38205</guid>
      <dc:creator>TheCondor</dc:creator>
      <dc:date>2021-09-27T08:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Folder compare custom aspect with current username</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-compare-custom-aspect-with-current-username/m-p/143917#M38206</link>
      <description>&lt;P&gt;If you check the &lt;A href="https://docs.alfresco.com/content-services/latest/config/smart-folders/#sf-syntax" target="_self" rel="nofollow noopener noreferrer"&gt;documentation&lt;/A&gt;, you will find that you can use the placeholder %CURRENT_USER% in a template to fill a condition that should use the current user's name.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 10:39:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-compare-custom-aspect-with-current-username/m-p/143917#M38206</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-09-28T10:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Smart Folder compare custom aspect with current username</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/smart-folder-compare-custom-aspect-with-current-username/m-p/143918#M38207</link>
      <description>&lt;P&gt;For other utility here the string i used:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;(PATH:'/app:company_home/st:sites/cm:my-private-site/cm:documentLibrary/cm:Customers/*' AND TYPE:'cusfil:CustomerFile' ) AND cusfil:Referent: '%CURRENT_USER%'&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Sep 2021 07:26:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/smart-folder-compare-custom-aspect-with-current-username/m-p/143918#M38207</guid>
      <dc:creator>TheCondor</dc:creator>
      <dc:date>2021-09-29T07:26:34Z</dc:date>
    </item>
  </channel>
</rss>

