Dynamic xfa to static xfa conversion

665 views
Skip to first unread message

shubham gupta

unread,
May 28, 2014, 4:04:26 AM5/28/14
to live...@googlegroups.com
Hi All,
 
We have to programmatically convert the Dynamic XFA forms to Static XFA forms?  i,e. dyanamic fields will not be there on PDF but it should be enterable form (its not flattended pdf).
 
Kindly provide any Live Cycle API / Process which can do the conversion programmatically?

--
Thanks & Regards,
Shubham
Message has been deleted

shubham gupta

unread,
May 28, 2014, 11:57:58 AM5/28/14
to live...@googlegroups.com
Thanks for the suggestion.

But we don't want to generate flatten pdf.

We want to convert Dynamic pdf it to Static Interactive pdf (form fields should be enterable), kindly suggest.

Regards
Shubham


On Wed, May 28, 2014 at 8:00 PM, Naveed Syed <nav...@gmail.com> wrote:
You can make use of generatePDFOutput or transformPDF operation of output service inorder to flatten the dynamic form.

Regards,
Nav.


--
You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to livecycle+...@googlegroups.com.
To post to this group, send email to live...@googlegroups.com.
Visit this group at http://groups.google.com/group/livecycle.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to livecycle+...@googlegroups.com.
To post to this group, send email to live...@googlegroups.com.
Visit this group at http://groups.google.com/group/livecycle.
For more options, visit https://groups.google.com/d/optout.

Angie Okamoto

unread,
May 28, 2014, 12:18:49 PM5/28/14
to live...@googlegroups.com
Shubham, 
What you want to do, can be done with the form server - since you still want interactivity.
Combining documents is very complex topic. This blog does a great job of explaining the terminology and functionality:  http://blogs.adobe.com/steampowered/tag/ddx.  Even though the title contains the words flattening, you will still get a lot of good info here.  Specifically this tidbit:
Static PDF – A PDF which contains an XFA stream and the form layout does not change. Static forms may be interactive (a user can still fill in fields). If a dynamic XDP is rendered with LiveCycle Forms with the Render At Client option set to “No” then the resulting PDF is no longer dynamic – it is now static and behaves like any other static PDF.
Hopefully this is enough to get you started.
Cheers, 
Angie
Angie Okamoto

shubham gupta

unread,
May 29, 2014, 6:25:05 AM5/29/14
to live...@googlegroups.com
Hi Angie,
Thanks for the suggestion.
 
I tried below steps as per blog:
1) Created process say 'X' with Render PDF as activity
2) Set the Render At Client option to “No”
3) Invoke the process with input as a dynamic PDF (PDF has plus minus buttons for adding and deleting sections and some text fields)
4) I get output PDF with plus/minus buttons visible, which are not working and text fields which are enterable.
 
But I want output PDF as WITHOUT buttons.
 
So any other LC API which I can use to programmatically convert the dynamic pdf.
 
Regards
Shubham
 

Ashok Deivasigamani

unread,
May 29, 2014, 9:18:13 AM5/29/14
to live...@googlegroups.com
For that you have to write the script,
The best way to do it is to have a hidden field and when you convert the dynamic to static operation, use this field as a flag, and in the initialize event, write a code that hides your add and delete button where ever they occur.

Regards -
Ashok D
Ashok Deivasigamani

shubham gupta

unread,
Jun 5, 2014, 5:35:13 AM6/5/14
to live...@googlegroups.com
Thanks Ashok.
 
But we need a generic solution as its not just 1 form we need to convert, we have many Dynamic forms and all those need to be converted to Static/Standard XFA format.
 
Kindly suggest some LC API like ASPOSE which are used to do the conversion programmatically.
 
Regards
Shubham
Reply all
Reply to author
Forward
0 new messages