12-31-2012 12:49 PM
01-02-2013 12:16 AM
01-02-2013 12:58 AM
01-02-2013 02:43 AM
01-02-2013 06:45 AM
if (document.isContainer && document.type == "{http://www.alfresco.org/model/site/1.0}site")
{
var site = siteService.getSite(document.name);
var documentLibrary;
if (site.hasContainer("documentLibrary")) {
documentLibrary = site.getContainer("documentLibrary");
}
else {
documentLibrary = site.createContainer("documentLibrary");
}
//crée un dossier etudiant1 contenant Notes (contenant trimestre1, trimestre2, contenant chacun Maths et Français).
var etudiant1 = documentLibrary.createFolder('etudiant1');
etudiant1.createFolder('Notes');
var trimestre1= etudiant1.createFolder('trimestre1');
trimestre1.createFolder('Maths')
trimestre1.createFolder('Français')
}
var site = siteService.getSite(document.name);
site.setMembership("GROUP_Etudiants", "SiteCollaborator");
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.