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.
var fecha=document.properties["custom:fecha"]; var ano=fecha.getFullYear(); var mes=fecha.getMonth() +1 ; var textomes = new Array (12); textomes[1]="Enero"; textomes[2]="Febrero"; textomes[3]="Marzo"; textomes[4]="Abril"; textomes[5]="Mayo"; textomes[6]="Junio"; textomes[7]="Julio"; textomes[7]="Agosto"; textomes[9]="Septiembre"; textomes[10]="Octubre"; textomes[11]="Noviembre"; textomes[12]="Diciembre"; var espacioAno = space.childByNamePath(ano); if (espacioAno == null && space.hasPermission("CreateChildren")) { // create the folder for the first time espacioAno = space.createFolder(ano); var espacioMes = space.childByNamePath(textomes[mes]); if (espacioMes == null && space.hasPermission("CreateChildren")) { // create the folder for the first time espacioMes = space.createFolder(textomes[mes]); } } if (espacioAno != null && espacioAno.hasPermission("CreateChildren")) { var move = document.move(espacioAno); if (move != null) { move; if (espacioMes != null && espacioMes.hasPermission("CreateChildren")) { var move = document.move(espacioMes); if (move != null) { // change the name so we know it's a backup move; } } } }
var ParentSpace = space.childByNamePath("parentSpaceName"); if (ParentSpace != null && space.hasPermission("CreateChildren")) { ChildSpace = space.createFolder("ChildName"); }
var fecha=document.properties["custom:fecha"]; var ano=fecha.getFullYear(); var mes=fecha.getMonth() +1 ; var textomes = new Array (12); textomes[1]="Enero"; textomes[2]="Febrero"; textomes[3]="Marzo"; textomes[4]="Abril"; textomes[5]="Mayo"; textomes[6]="Junio"; textomes[7]="Julio"; textomes[7]="Agosto"; textomes[9]="Septiembre"; textomes[10]="Octubre"; textomes[11]="Noviembre"; textomes[12]="Diciembre"; var espacioAno = space.childByNamePath(ano); if (espacioAno == null && space.hasPermission("CreateChildren")) { // create the folder for the first time espacioAno = space.createFolder(ano); var espacioMes = espacioAno.childByNamePath(textomes[mes]); if (espacioMes == null && space.hasPermission("CreateChildren")) { // create the folder for the first time espacioMes = espacioAno.createFolder(textomes[mes]); if (espacioMes != null && espacioMes.hasPermission("CreateChildren")) { var move = document.move(espacioMes); } } }
var fecha=document.properties["custom:fecha"]; var ano=fecha.getFullYear(); var mes=fecha.getMonth() +1 ; var textomes = new Array (12); textomes[1]="Enero"; textomes[2]="Febrero"; textomes[3]="Marzo"; textomes[4]="Abril"; textomes[5]="Mayo"; textomes[6]="Junio"; textomes[7]="Julio"; textomes[7]="Agosto"; textomes[9]="Septiembre"; textomes[10]="Octubre"; textomes[11]="Noviembre"; textomes[12]="Diciembre"; var espacioAno = space.childByNamePath(ano); if (espacioAno == null && space.hasPermission("CreateChildren")) { // create the folder for the first time espacioAno = space.createFolder(ano); } if (espacioAno != null && espacioAno.hasPermission("CreateChildren")) { var espacioMes = espacioAno.childByNamePath(textomes[mes]); if (espacioMes == null && space.hasPermission("CreateChildren")) { // create the folder for the first time espacioMes = espacioAno.createFolder(textomes[mes]); if (espacioMes != null && espacioMes.hasPermission("CreateChildren")) { var move = document.move(espacioMes); } } }