Question

I want to make a pdf form that has a dropdownlist filled with data from an external xml file. The xml file is updated every few days.

I want it so that the client can click a button on our application to download the pdf. When it is downloaded (or when the xml file is updated, whichever works best), I would like it so the pdf prepopulates its dropdownlist with the data from the xml file and is then pushed to the client.

The xml has a structure similar to this:

<items>
    <item>
        <display>string displayed in dropdownlist</display>
        <value>value used in barcode</value>
    </item>
    <item>
        <display>Sample data</display>
        <value>1</value>
    </item>
</items>

So the client would download the pdf file, open it in reader, fill out the form, where the data is put into a pdf417 barcode (so I need the form to retain the extended reader functionality), printed, etc.

I'm currently using LiveCycle Designer to create the form, and a LiveCycle server is not out of the question if that's what's needed.

Is this even possible? How would I do that?

Était-ce utile?

La solution

Yes its possible. As a matter of fact, LiveCycle ES Server ( along with its associated modules) facilitates the merging of the XML with a LiveCycle template.

In the use case you have mentioned, you can leverage the LiveCycle server to merge the XML data with the PDF, generate a dynamic PDF, Reader extended it and render it to a client. The dropdowns will have the updated data as well.

Please let me know if you have any other questions.

Thanks, Armaghan.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top