Refresh on change and other similar options, does not work
SummaryClient 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 MessagesNot applicable
Steps to Reproduce
- Create a parent section.
- Add a sub-section whose page context is setup with dynamic page property like the Top or Parent keywords, or a reference property.
- Add any client side action like display when.
Root CauseAn issue in the custom application code or rules.
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