Buenos dias.
Gracias a Angel Borroy quien me orientó para agregar un boton a myfiles de alfresco Ejemplo,
pero he intentado crear una carpeta o un archivo a traves del boton y no he podido solucionar
he mirado javascript este ejemplo y no me resulta. Al igual que Doc
pero sigo sin poder crearlo
cualquier ayuda u orientacion me serviria mucho.
// create file, make it versionable
var doc = userhome.createFile('checkmeout.txt');
doc.addAspect('cm:versionable');
doc.content = 'original text';
// check it out and update content on the working copy
var workingCopy = doc.checkout();
workingCopy.content = 'updated text 1';
// check it in
doc = workingCopy.checkin();
// check it out again
workingCopy = doc.checkout();
workingCopy.content = 'updated text 2';
// check it in again, but with a version history note and as major version increment
doc = workingCopy.checkin('a history note', true);