Smart Folder and user properties

cancel
Showing results for 
Search instead for 
Did you mean: 
vincent-kali
Established Member

Smart Folder and user properties

Jump to solution

Hi,

I would like to use a user property (not username) in a mart folder template query.

Is it possible ? 

1 Solution

Accepted Solutions
afaust
Master

Re: Smart Folder and user properties

Jump to solution

You can only use properties from the smart folder root node (on which the aspect / template is applied to enable the smart folder) or the few "global" meta properties, like user name. There is no support for accessing any other properties. The engineer(s) who developed smart folders actually thought about making the meta properties extensible / configurable, but since Alfresco is hell bent on only ever implementing the bare minimum of features, only TODO statements were added in the code base, never to be implemented (https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/virtual/...).

View solution in original post

1 Reply
afaust
Master

Re: Smart Folder and user properties

Jump to solution

You can only use properties from the smart folder root node (on which the aspect / template is applied to enable the smart folder) or the few "global" meta properties, like user name. There is no support for accessing any other properties. The engineer(s) who developed smart folders actually thought about making the meta properties extensible / configurable, but since Alfresco is hell bent on only ever implementing the bare minimum of features, only TODO statements were added in the code base, never to be implemented (https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/virtual/...).