Hi,
I have created workflow and while assigning user i wanted to list users of particular site.
Kindly help
Solved! Go to Solution.
Hi All,
I have created a custom picker and under findUsers method i'm passing siteid to get site object like this
var site = siteService.getSite(searchSiteTerm);
and getting members of site using
var members = site.listMembers(null, null, 0, true);
But im not getting users list of other sites which im not registered with. im getting error as "Cannot call method "listMembers" of null"
im getting all users of particular site only if im registered with that site.
Can anyone help me getting users of particular site in pickeritems.js without being registered with other site???
Hi All,
I have created a custom picker and under findUsers method i'm passing siteid to get site object like this
var site = siteService.getSite(searchSiteTerm);
and getting members of site using
var members = site.listMembers(null, null, 0, true);
But im not getting users list of other sites which im not registered with. im getting error as "Cannot call method "listMembers" of null"
im getting all users of particular site only if im registered with that site.
Can anyone help me getting users of particular site in pickeritems.js without being registered with other site???
Hi All,
I have made that webscript to runas admin, to get all users of particular site in workflow person picker.
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.