Hi,
is there any way to communicate with a Firebase database (read and write data) via JavaScript in a pdf form?
Thank in advance!
Firebase integration
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Firebase integration
Hello Dubstep,
Please take a look at the "submitForm" method from this file (page 345):
https://opensource.adobe.com/dc-acrobat ... apiref.pdf
You can use that to submit the form data to a server (which should be prepared to be listening for that information), but reading data from the server does not seem possible with the direct form methods.
There are the NET.HTTP methods inside the above JS Reference - and as per the post from our devs in the other topic - those should work. Implementation inside the PDF files will be documented in the above PDF file, and you will probably need some coding on the server side as well.
Kind regards,
Stefan
Please take a look at the "submitForm" method from this file (page 345):
https://opensource.adobe.com/dc-acrobat ... apiref.pdf
You can use that to submit the form data to a server (which should be prepared to be listening for that information), but reading data from the server does not seem possible with the direct form methods.
There are the NET.HTTP methods inside the above JS Reference - and as per the post from our devs in the other topic - those should work. Implementation inside the PDF files will be documented in the above PDF file, and you will probably need some coding on the server side as well.
Kind regards,
Stefan