Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Open non-PDF files (docx, txt, jpg etc)


Level 2

Is there any way to directly open non-pdf docs from a XPD pdf WITHOUT using a web browser?  I have tried app.openDoc but it only seems to work on PDFs.

Basically my PDF forms must be able to direct users to the locally stored document and trigger windows to open the file with the appropriate program.  This is equivalent to the "Open File" link type in standard PDFs.

I can use trusted functions if necessary.

Any ideas?

0 Replies