04-23-2018 03:35 AM
Hi,
I have created workflow and while assigning user i wanted to list users of particular site.
Kindly help
05-20-2018 08:37 AM
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???
05-20-2018 08:37 AM
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???
12-17-2018 02:04 AM
Hi All,
I have made that webscript to runas admin, to get all users of particular site in workflow person picker.
Explore our Alfresco products with the links below. Use labels to filter content by product module.