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.
tck = session.getTicket(); var url = "http://localhost:8080/alfresco/" + document.downloadUrl + "?ticket=" + tck;
node.properties.content.write(content);
var updatedVersion = document.transformDocument("application/pdf", tempFolder); // Check it out and update content on the working copy - "pdf" is the current version var workingCopy = pdf.checkout(); workingCopy.properties.content.write(updatedVersion.properties.content); // Check it back in workingCopy.checkin("Document updated", true);