Hi,
I created a new PDF document with fillable fields. For a sequential invoice number, I want to access a number that is stored in a file online (can be .txt, .json...) so that it can be accessed by multiple devices and a number never appears twice.
How can I implement this in the PDF in JavaScript? Or do you know better alternative solutions?
Thanks in advance.
Accessing online file
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
- Ivan - Tracker Software
- Site Admin
- Posts: 3550
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: Accessing online file
You can create a web service that will return that number and access this service using Net.HTTP.request
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Re: Accessing online file
Hi Ivan,
how can I implement this request in JavaScript? Are there any examples on how to do this?
Greetings!
how can I implement this request in JavaScript? Are there any examples on how to do this?
Greetings!
- Tracker Supp-Stefan
- Site Admin
- Posts: 17929
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Accessing online file
Hello Dubstep,
You will find further instructions in the JS API reference file - I linked it in your other topic:
viewtopic.php?t=38912
Kind regards,
Stefan
You will find further instructions in the JS API reference file - I linked it in your other topic:
viewtopic.php?t=38912
Kind regards,
Stefan