07-06-2011 04:25 AM
// The site has been successfully created - add it to the user's favourites and navigate to it
var preferencesService = new Alfresco.service.Preferences(),
shortName = response.config.dataObj.shortName;
var siteService = new Alfresco.?????????
07-06-2011 04:31 AM
07-06-2011 06:11 AM
var site = siteService.getSite(shortname);
var doclib =site.getContainer("documentLibrary");
if(site.preset == "preset-number-1")
{
var folder= doclib.childByNamePath("Folder1");
if (folder== null) {
var folder= doclib.createFolder("Folder1");
}
}
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.