06-25-2013 06:05 AM
try{
var action = actions.create("transform");
action.parameters["destination-folder"] = transformSpaceNode;
action.parameters["assoc-type"] = "{http://www.alfresco.org/model/content/1.0}contains";
action.parameters["assoc-name"] = pdfFileName;
action.parameters["mime-type"] = "application/pdf";
// Execute
action.execute(document);
}catch(e)
{
logger.log(e);
logger.log(" Exception Occured while transformation for the Doc " + document.name);
// copy original doc to transform space
var copiedNode = document.copy(transformSpaceNode);
logger.log("After Copy :: " + copiedNode.nodeRef);
}
06-25-2013 07:47 AM
07-05-2013 10:25 PM
09-10-2013 06:36 PM
transactoknService.getNonPropogationUserTransaction().
Then transaction.begin();
09-11-2013 02:27 AM
09-19-2013 09:36 AM
09-24-2013 07:19 AM
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.