Support Article

Defer loading activity is not getting called in dynamic layouts



Unable to call specified defer loading activity in dynamic layouts. Additionally, the UI elements inside the layout do not display.

Error Messages

Not Applicable

Steps to Reproduce

  1. Create an HTML fragment in A-B-C (example) class
  2. Try to refer sectionA, which is in D-E-F (example) class, here
  3. Include dynamic layout in sectionA. On dynamic layout, configure defer load and include an activity which is in X-Y-Z (example) class.
  4. When defer load is invoked at runtime, an error appears which can be found in Tracer.

Root Cause

When trying to defer load the activity, RefreshSection is called.  This is unable to render the section as it considers the section to be in A-B-C class, which is failing with "Unable to render section" error as the context switches.


Perform the below local-change:
  • Include the section in the HTML fragment class
  • Create a section in the HTML fragment class and perform sectionInclude with the required section from other class.

Published September 29, 2016 - Updated October 12, 2016

Have a question? Get answers now.

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