Hi,
I would like to use a user property (not username) in a mart folder template query.
Is it possible ?
Solved! Go 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/...).
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/...).
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.