12-03-2019 03:12 PM
Hi,
I would like to use a user property (not username) in a mart folder template query.
Is it possible ?
12-05-2019 02:20 PM
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/...).
12-05-2019 02:20 PM
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/...).
Explore our Alfresco products with the links below. Use labels to filter content by product module.