Hello, I want modify the resultset to assign user or group for a workflow.
For exemple when I use the sarchTerm "*", the web script alfresco/api/forms/picker/authority/children?selectableType=cmerson&searchTerm=*&size=100 returns all users and groups of repository but I want for example get only the site's members. How can I do ? I begin to see the scripts classpath:alfresco/templates/webscripts/org/alfresco/repository/forms/pickerchildren.get.js which use group API to find User : groups.searchUsers(searchTerm, paging, "lastName");
I thought that I must modify the results from alfresco/api/forms/picker/authority/children?selectableType=cmerson&searchTerm=*&size=100 webscript, but can you explain me how can I proceed ?