cancel
Showing results for 
Search instead for 
Did you mean: 

Error with adding row to Table

Former Member
0 Kudos

Hi all,

I have an iteractive table with two columns each with text field with default one row.

I have 2 button separately - AddButton and DeleteButton.

AddButton - has to add 1 row to buttom of the table.

DeleteButton - has to delete 1 row from bottom of the table.

Table1 = table name

Row1 = row name

AddButton code:

Table1.Row1.instanceManager.addInstance(1);

DeleteButton code:

Table1.Row1.instanceManager.removeInstance(1);

Both these code are not working. Neither it is adding a row nor deleting.

One more point: after instanceManager the funcion drop down does not give me option to add "addInstance" method.

I am using adobe livecycle designer 7.1

Let me know what is wrong here.

Regards,

Aditya Deshpnade

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

thanks for your supprt. I got the solution from other threads.

Rehards,

Aditya Deshpande

Former Member
0 Kudos

HI,

try with ur subform names too..

like,


mainsubformname.tablesubformname.table1.row1.instanceManager.addinstance(1);

also give "insert webdynpro script"

regards,

Surya

Former Member
0 Kudos

Hi,

Adding and removing instances of subforms only works if dynamic PDF forms are used (e.g. Web Dnypro ABAP sets this flag as default but using SFP you need to do it manually (docparams-dynamic flag).

Regards,

Juergen