11-11-2010 03:21 AM
11-11-2010 04:23 AM
function main()
{
// Get the filter parameters
var nameFilter = args["nf"];
var sitePreset = args["spf"];
var sizeString = args["size"];
var mysites = [];
// Get the list of sites
var sites = siteService.listSites(nameFilter, sitePreset, sizeString != null ? parseInt(sizeString) : 0);
if(sitePreset && sitePreset != ''){
for(i=0; i<sites.length; i++) {
if(sites[i].sitePreset == sitePreset){
mysites.push(sites[i]);
}
}
model.sites = mysites;
}
else{
model.sites = sites;
}
}
main();
11-12-2010 11:01 AM
siteService.listSites("", "project-site-dashboard");
var connector = remote.connect("alfresco");
var result = connector.get("/api/sites?spf=project-site-dashboard");
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.