Support Article
UI sourced from data pages does not load asynchronously
SA-62357
Summary
UI sourced from data pages does not load asynchronously. The UI is blocked while the data page loads, though the Defer load contents option is set on the dynamic layout containing the data page sourced data.
Error Messages
Not Applicable
Steps to Reproduce
- Create a UI section.
- Set it to use a data page.
- Configure the data page to load by an activity and invoke multiple connect-rest APIs.
- On the UI section, set the 'Defer load contents' checkbox. When the UI loads, the section does not load asynchronously; however, the main UI is blocked while the data page loads.
Root Cause
An issue in the custom application code or rules.
To configure a non-blocking UI using Asynchronous Declare Pages, the Defer load must be set on an embedded section whose context is the data page.
Resolution
Perform the following local-change:
- Configure a wrapper section for the data page sourced content.
- Set its context to the data page.
- Enable the Defer load contents setting.
Published August 24, 2018 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.