Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

What is the protocol com.adobe.aemfd.docmanager.Document API uses to write/ copy/ store PDF on File System

Avatar

Level 3

hello expert,

 

My client would like to understand following from below piece of code:

Document doc = outputService.generatePDFOutput(xdpDoc, xmlDoc, outputOptions);
// Save the result in a PDF file
File pdfFile = new File("//user//data//pdf//Generated_" + System.currentTimeMillis() + ".pdf");
doc.copyToFile(pdfFile);

 

- what is the protocol (smb, sftp etc..) being used for copying generated PDF on file system? by com.adobe.aemfd.docmanager.Document

- what level of permission is needed by com.adobe.aemfd.docmanager.Document to call - doc.copyToFile(pdfFile);

- is there any specific link/ document for the same?

 

0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now