Wednesday, January 27, 2010

Examples On Alfresco JavScript API

Example1:
        
var today = new Date();
var folderString = today.getFullYear() + "_" + today.getMonth() + "_" + today.getDate() + "_" +   today.getHours() + "_" + today.getMinutes() + "_" +today.getSeconds();


document.createFolder(folderString);

Example2:

No comments:

Post a Comment