Firebase integration

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
Dubstep
User
Posts: 3
Joined: Wed Aug 18, 2021 11:58 am

Firebase integration

Post by Dubstep »

Hi,

is there any way to communicate with a Firebase database (read and write data) via JavaScript in a pdf form?

Thank in advance!
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Firebase integration

Post by Tracker Supp-Stefan »

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
Post Reply