Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Create a UI section.
  2. Set it to use a data page.
  3. Configure the data page to load by an activity and invoke multiple connect-rest APIs.
  4. 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:
  1. Configure a wrapper section for the data page sourced content.
  2. Set its context to the data page.
  3. Enable the Defer load contents setting.



 

 

Published August 24, 2018 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice