cancel
Showing results for 
Search instead for 
Did you mean: 

How set adobe form as dynamic

Former Member
0 Kudos

Hello Everybody,

I have a Java WebDynpro application with an adobe form. On adobe form is TextField and Button. On click event of Button I have javascript code:

xfa.resolveNode("TextField").presence = "hidden";

But it doesn't work because adobe form is static and not dynamic.

I use SAP NetWeaver Developer Studio 7.0.08 and Adobe LiveCycle Designer 7.1. In Form Properties in LiveCycle Designer I have:

XDP Preview Format: Dynamic PDF

Override Default Rendering: checked

PDF Render Format: Dynamic PDF

If I save generated PDF and open it in Adobe Designer, I see, this is a static PDF. If I save it as Dynamic PDF, javascript works.

How can I render my adobe form as Dynamic PDF?

Thank you for your help!

Michal

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I would like to add row and colume in my adobe form but i think i couldn't able to add due to the form is not in dynamic form.

i insert your code that you provided in my wdDoModifyView

if(firstTime)

{

IWDInteractiveForm iForm = (IWDInteractiveForm)view.getElement("TrainingRequestForm");

iForm.setDynamicPDF(true);

however, it pop me with this error:

The method setDynamicPDF(boolean) for the type IWDInteractiveForm is deprecated.

do you know the reason? and how to solve it?

Former Member
0 Kudos

It is solved.

I inserted a code into method wdDoModifyView of my view with adobe form:

if(firstTime)

{

IWDInteractiveForm iForm = (IWDInteractiveForm)view.getElement("InteractiveForm");

iForm.setDynamicPDF(true);

}

where "InteractiveForm" is name of my adobe form inserted in view.