Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Adobe LiveCycle preload XML data from ASP.NET Microsoft SQL


Former Community Member

I am using Adobe LiveCycle ES2 to create XFA forms to communicate with ASP.NET.

Would like to know when user open the PDF form (via URL), how to get the Request.QueryString parameter and preload data in the PDF form??

For example, when user access the PDF via URL http://example.com/site/demo.pdf?id=123

Program will get the id "123" and load the XML data from SQL Server and then inject the XML data into PDF form objects. So that when user open the XFA form, the data is loaded inside already.


2 Replies


Level 7

You need to get a third party tool to do this (server side), or use the FormBridge (client side, AJAX call).


Level 2

The XFA form should open with the data populated if the script outputs XDP data that includes the PDF file path URL.