Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Adding row dynamically

Avatar

Level 2

I am using Livecycle Designer ES 8.2

I need to create a table with capability to add / delete rows dynamically and i should be able to parse the content on the server side using java ( iText)

I managed to create the PDF form using designer. Added a script that is called on click of a button

Script is as follows:Table1.Row1.instanceManager.addInstance(1)

At run time, i am able to add new rows.

Issue: 

a) When i try to parse the contents of the PDF (using java), i dont get the additional rows that i added. 

b) When i open the saved PDF ( with additional rows), i dont see them in Designer

Can you please help on the above.

Thanks

Ram

3 Replies

Avatar

Level 10

Hi,

Check the bounding of you form, especially the binding for Row1.

Regards

Bruce

Avatar

Level 7

Check that you are pulling data from the correct DOM. You should be accessing the Data DOM, the Template DOM will not have your additional instances. This also explains why you do not see them in Designer.

Avatar

Level 2

Thanks a lot for the inputs

Yes, we are able to access the data DOM and get the details

Regards

Ram