Support Article

Refresh on change and other similar options, does not work

SA-31598

Summary



Client side behavior such as visibility when, refresh when property changes, and auto complete refreshes do not work when a sub-page context does not have a direct page reference, for example pyWorkPage.SomePage.

The issue occurs when running any sub-sections' directly using the Top or Parent keywords, or reference properties (using the Property-Ref method).

This happens for simple sub-section includes, and also if a spin off flow or flow action runs on one of those pages.

 

Error Messages



Not applicable


Steps to Reproduce

  1. Create a parent section.
  2. Add a sub-section whose page context is setup with dynamic page property like the Top or Parent keywords, or a reference property.
  3. Add any client side action like display when.


Root Cause



An issue in the custom application code or rules.

Resolution


 

An enhancement request, FDBK-17689, has been created for consideration by Pega Product Management. 

As a workaround a “wrapper” section must be created and run on a property reference, by setting .pyStepPageReference. 

​ This resets the embedded pages context, and allows the client side action to work correctly.

Published December 19, 2016 - Updated January 5, 2017

Have a question? Get answers now.

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