Expand my Community achievements bar.

Adobe LiveCycle preload XML data from ASP.NET Microsoft SQL

Avatar

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.

Thanks!!

2 Replies

Avatar

Level 7

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

Avatar

Level 2

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