Lazy loaded panels not displaying data when selecting Preview with data option in the form | Community
Skip to main content
Level 2
February 14, 2024
Solved

Lazy loaded panels not displaying data when selecting Preview with data option in the form

  • February 14, 2024
  • 2 replies
  • 903 views

hi all, 

 

I have a form bound to xml schema, it contains 3 panels , the second and third panels are fragments which are lazy loaded. When i select preview with data option and select a data file, the data on the panels which are lazy loaded are not displayed. When disabling lazy loading option in the form, the data is visible in those panels. All fields are bound to elements in xml schema. Is there something else that needs to be done to prefill data in lazy loaded panels?

 

kindly let me know.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mayank_Gandhi

@usersd I hope it's not a single-page layout, if yes convert to a tabbed layout and enable the below check box 

 

 

2 replies

Mayank_Gandhi
Adobe Employee
Mayank_GandhiAdobe EmployeeAccepted solution
Adobe Employee
February 14, 2024

@usersd I hope it's not a single-page layout, if yes convert to a tabbed layout and enable the below check box 

 

 

kautuk_sahni
Community Manager
Community Manager
February 21, 2024

@usersd Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
UserSDAuthor
Level 2
March 7, 2024

Thank you @mayank_gandhi , and @kautuk_sahni , I have been away for sometime so have not been able to get back here. thank you for your answers.

I can see the data now in the lazy loaded panels. It was some script on the panels which was failing. however i do have a follow up question. Please help me if you can. When i move into a lazy loaded panel, i can see it loaded in the network tab, when i move away from a lazy loaded panel ( Panel structure is "tabs on left")  the lazy loaded panels are unloaded (also from the dom?) . Is there a way to stop this unloading of lazy loaded panels, once it is loaded in the form?

 

thanks again.