I have a form "test.pdf" and required data in the file "test.csv" in the same directory.
In the form i have "import button"
When I click the button, I have to choose file "test.cst" to load the data.
Is there any way to choose (known) file automatically, without the "Open Files" dialog?
I think(??) "Run a Java Script" should be used instead of "Execute a Command" in Actions - Mouse Down.
Thanks for help.
Faster and easier import (*csv) into the PDF form
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Faster and easier import (*csv) into the PDF form
Hi siSINka,
Thanks for the post - I'm afraid that there is currently no method defined specifically to import form data from a CSV. I would recommend that you use FDF (Form Data File) or XFDF (XML Form Data File) as these are designed specifically to work with form data and annotation data. You can then use the importAnFDF() method defined in the Adobe JavaScript API Reference:
https://www.adobe.com/content/dam/acom/ ... erence.pdf
HTH!
Thanks for the post - I'm afraid that there is currently no method defined specifically to import form data from a CSV. I would recommend that you use FDF (Form Data File) or XFDF (XML Form Data File) as these are designed specifically to work with form data and annotation data. You can then use the importAnFDF() method defined in the Adobe JavaScript API Reference:
https://www.adobe.com/content/dam/acom/ ... erence.pdf
HTH!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com