Copy link to clipboard
Copied
Is it possible that an app (in angular 12) can pass parameters to a PDF file opened with Acrobat Reader?
We would like to make it pass the path of the saving directory and the name of the file.
Preferably without having to use an application script in Acrobat.
Thank you.
PDF Acrobatic, InDesigner & Photoshoptographer
Copy link to clipboard
Copied
For Reader there are three methods (I know of) for passing data, that don't require special rights or something else. None of these use the IAC, which doesn't work with Reader.
I don't know if any of these methods are compatible with Angular.
1. Submit to a server script. The script can be local.
2. Acquire local file data with "util.readFileIntoStream".
3. Use the Acrobat open parameters to specify an FDF file, which was presumably just created by the app.
#1 and #2 are driven from the Acrobat side. Only #3 is driven from the external app, which is what I think you intended.
Hope this helps.
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
For Reader there are three methods (I know of) for passing data, that don't require special rights or something else. None of these use the IAC, which doesn't work with Reader.
I don't know if any of these methods are compatible with Angular.
1. Submit to a server script. The script can be local.
2. Acquire local file data with "util.readFileIntoStream".
3. Use the Acrobat open parameters to specify an FDF file, which was presumably just created by the app.
#1 and #2 are driven from the Acrobat side. Only #3 is driven from the external app, which is what I think you intended.
Hope this helps.
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
Thank you Thom.
How can I use the Acrobat open parameters to specify an FDF file?
I don't know a setting like this one, where is it?
PDF Acrobatic, InDesigner & Photoshoptographer
Copy link to clipboard
Copied
The documentation is pretty old, but I believe still valid. Here's a link:
https://pdfobject.com/pdf/pdf_open_parameters_acro8.pdf
I would hope there was a newer online reference, but I haven't found it yet.
Good Luck,
Use the Acrobat JavaScript Reference early and often
Copy link to clipboard
Copied
Thank you again.
PDF Acrobatic, InDesigner & Photoshoptographer

