Question

performance degrades for section with multiple sections included

Hi Team,

Facing similar issue mentioned in below article. But configuration screens are missing in below link. Can anyone help on exact code for non auto generated section?

  1. Create a non-autogenerated wrapper section for the embedded sections and check the pyPegaDesignMode property to set text to display at Design time instead of the actual section that renders at runtime.

https://community.pega.com/support/support-articles/performance-degrades-section-multiple-sections-included

***Edited by Moderator Marissa to update platform capability tags****

Comments

Keep up to date on this post and subscribe to comments

Pega
May 21, 2019 - 12:05am

Hi,

You can use the below code inside a new non auto-generated section, say SectionB:

  1. <pega:choose>
  2. <pega:when java="<%= tools.getParamValue("pyPegaDesignMode").equals("true") %>" >
  3.  
  4. Section is in design mode...
  5.  
  6. </pega:when>
  7. <pega:otherwise>
  8.  
  9. <pega:include name="SectionA" type="Rule-HTML-Section" />
  10.  
  11. </pega:otherwise>
  12. </pega:choose>

Where SectionA is the original section which is causing performance issues.

Thanks,
Srinivas