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
BedrockMission!

Learn more

View all

Sign in to view all badges

Bind Reference

roberth55706517
Level 4
Level 4

AEM 6.2 Forms with latest patch.

I have a form with two sub form fragments where I have set the "Bind Reference" property on the fragment's input fields. The problem I'm seeing is that the only items that are being bound are the parent panels that do not have a Bind Reference property.  On another project(AEM 6.1), the input fields would be added to the JSON model in the guide bride so that I could discover the bind reference for the control's Id. What could I be doing wrong that the JSON model is not containing the binding for the controls on the page?

2 Replies
roberth55706517
Level 4
Level 4

I'm also noticing that if you lazily load the fragments, that the JSON model doesn't get updated with the content or the newly loaded panels. If we are going to rely on the binding and the guideBride API for managing pages, it seems this needs to be corrected.

gauravahuja11
Level 2
Level 2

Hi Robert,

In case of lazy loading, only the model of the currently loaded panel is available. So you can access the json model properties of only the currently loaded panel. Can you specify the use case you are targeting ?