Dear All this is my first time in the forum. Please I am really sorry if my question is too basic.
I am creating a document model with a field called "Revisors" where one or several users must be selected (those users will be part of the authoring of the document, so it is important they are in the metadata of the document. Instead of using a List of Values, I would like to use the list of users in the system. Or at least, a group. Can it be done?
Thank you very much in advance.
Ivan
You can use Alfresco's user picker for your case. in your model mark the property of "Revisors" as multiple. next add a form control in share-config-custom.xml like this
<control template="/org/alfresco/components/form/controls/authority.ftl" >
<control-param name="startLocation"></control-param>
<control-param name="authorityType">ALL</control-param>
<control-param name="deepSearch">true</control-param>
</control>
The authority.ftl contains the picker. if you want to pick only users then in control-param "authorityType" use "USER", for groups use "GROUP".
I know this is an old post, but I have the same problem. Can you give more details to how implement this? If I put this, nothing happens in my picker
<field id="my:assignee" label-id="workflow.field.assignee.coAuthors" set="assignee" > <control template="/org/alfresco/components/form/controls/authority.ftl" > <control-param name="startLocation"></control-param> <control-param name="authorityType">ALL</control-param> <control-param name="deepSearch">true</control-param> </control> </field>
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.