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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Setting a subform instance with a subform


Level 4

I have a subform within a subform, the first subform set the instance of the second subform using this script:


When I save and reopen the document the data in the second subform from the other instances of the first subform all appear under the first instance of the first subform.

Any assistance would be greatly appreciated.

Best regards,


1 Reply


Level 10

I don't get what you're doing.

But from your description the script above meakes no sense to me as a subforms doesn't have a rawValue.

Please add a more detailed description or a link where I can download your form.