12-09-2009 10:16 AM
// 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;
12-09-2009 10:30 AM
12-09-2009 05:24 PM
10-27-2010 11:48 AM
// 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;
10-17-2012 01:00 AM
peopleFound = people.getPeople(filter, maxResults);
for (i = 0; i < peopleFound.length; i++) {
username = search.findNode(peopleFound[i]).properties.userName;
// …
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.