3

My company wants to set up some PDF documents to track projects. We want to create links inside the PDF that, when clicked, open a given document (.doc, .xls etc) using a relative path.

There is the app.openDoc JavaScript method, however that only works for PDF files.

There is the "Open a file" action, but that seems to work for only absolute paths.

I've looked into the API ( http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf ) to no avail ... does anyone know how to do this?

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
Jordan N
  • 199
  • 6
  • 16

1 Answers1

1

The doc object has no such method, but you can do the following:

As an alternative, you can also use the util.readFileIntoStream method in a closed environment where you can install folder-level scripts on everyone's system.

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265