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 flattern interactive PDF?


Level 3

I have Livecycle ES4 and an interactive form with user rights and a bunch of rules, which change some fields states, depending of  users actions with other fields. I have to make this form (after it was filled, so with all the changes) flat.

I've tried to user OutputService transformPDF operation.

But as a result i recieve a flat form with inital state.

For example. I have a form with three fields (two images and one text field). One image and text field are visible initialy and one image is invisible initialy. When user types something on text field, the another one image changes it's state to visible.  It is done with such code:

form1.#subform[0].TextField1::exit - (JavaScript, client)

xfa.resolveNode("Stamp[1]").presence = "visible";

Also, this form is enriched with a user right to save it with its state.

1. So, initially my form looks like this (only one image and text field are visible):


2. Then I enter some text, another image becomes visible, and i save the form (the red one stamp is visible after reopening this saved form).


3. Then i send it to the convertation via transformPDF operation and as a result i recieve a form only with two visible fields:


So, what am I doing wrong?

Here is my whole process. The first one step is for removing user rights, as without this step i recieve error, which say that only forms with no user rights can be converted. The second 4 steps in gateway - are differen variants of using transformPDP with diff. settings.


Here is an example of one of the convertation steps:


Here is rights removement step:


And that is whatched folder step settings:


0 Replies