As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
// Get the args var filter = args["filter"]; var maxResults = args["maxResults"]; // Get the collection of people var peopleCollection = people.getPeople(filter, maxResults != null ? parseInt(maxResults) : 0); // Pass the queried sites to the template model.peoplelist = peopleCollection;
// Get the args var filter = args["filter"]; var maxResults = args["maxResults"]; // Get the collection of people var peopleCollection = people.getPeople(filter, maxResults != null ? parseInt(maxResults) : 0); for (var i=0; i<peopleCollection.length;i++) { peopleCollection[i].properties["isfriend"]=1; } // Pass the queried sites to the template model.peoplelist = peopleCollection;
peopleFound = people.getPeople(filter, maxResults); for (i = 0; i < peopleFound.length; i++) { username = search.findNode(peopleFound[i]).properties.userName; // … }