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

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

Row1 is null when adding new row


Level 10

Here I have a little problem with my table...

When I'm trying to add a new row using this.resolveNode("Table.Row1").instanceManager.addInstance(1);

It pops me an error such as:

TypeError: this.resolveNode("Table.Row1") is null...

This error pops up once I have 2 rows... it can't add a third row....

If I write :


It will add a row no problem. BUT the problem is when I save the form and reopen the form... there's only the first row (Row1[0]) and it's data that is showing up on the form...

Anyone knows how can I fix this?

0 Replies


Level 2

Have a look in the settings of the form.  In Designer ES4, it's "File -> Form Properties -> Run time".  You have a setting about preserving script changes or not.  Make sure the value is set to "Automatically", to show the changes you have done through scripting.


Level 1

I am having a issue that is kind of related to this post. Can you tell me where did you put your code to add the row?

I am trying to make a subform visible when a button is clicked. The 1st subform works fine but when trying to add another instance for the 2nd subform to be added when the button is clicked again, nothing! Can you help?