Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Subform reference

Avatar

Level 4

hello, I have a problem how do I refer to a Subform Subform from another? Let me explain

I have two Subform (subform_A and subform_B) contained in subform_C

I refer to subform_B starting from subform_A?
how can I do?
I have as a result using this.parent.name subform_C

2 Replies

Avatar

Level 2

Hi,

     Subform_A and B are in same hierarchy. So u can directly access the subform_B from Subform_A.

Thanks

Vishnu

Avatar

Level 4

hello, I solved by setting the name of the Subform plus somExpression

example

script.nameFunction (this.rawValue, NameSubFormB.somExpression);