document.transformDocument() is giving null
I am trying to transform a jpeg file to pdf using document.transformDocument() in alfrescoI have placed the following code in a js file in repovar newdoc=document.transformDocument(application/pdf)logger.log("newdoc"+newdoc);but the value of newdoc i...