Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to generate PDF from template via REST query

Avatar

Level 1

Hello. I'm newbie in Adobe LiveCycle, will appreciate any help.

What we need: generate PDF from template, using different data.

What we have: LiveCycle Designer and server with deployed Adobe LiveCycle ES 2.5 image.

Looks like server works and listen 8080.

In Livecycle Designer I can generate XML (XDP) from PDF, so I can change this XML in PHP/Python/Go script to fill template with data.

I'm looking for some REST method, where I can give that XML (XDP) and recieve generated PDF in response.

I've spent whole to for googling all these things, found a lot of docs, but all is very complicated there. Also, examples from just doesn't work - maybe I have to do something on server before calling REST API method.

Please, push me into right direction

0 Replies

Avatar

Level 2

Your best bet is to probably create an orchestration (or "process" in Adobe speak) that accepts two document parameters, calls LiveCycle Forms (or Output depending on whether you want to interactive or non-interactive PDF), and returns the resulting document variable.

The orchestration will return a redirect that will point you to the document object.

See Invoking LiveCycle using REST Requests, and Creating Your First LiveCycle ES4 Application.

Rob