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

Layout visibility condition unable to show the page with propert

SA-8514

Summary



User saved out-of-the-box section pyActionArea in their own ruleset and there are two layouts in this section which have a visible condition on them which are:

i) myParamPage.pyDisplayMode = 'ActionMenuBar'
ii) myParamPage.pyDisplayMode != 'ActionMenuBar'

Layout with visibility condition myParamPage.pyDisplayMode = 'ActionMenuBar' is rendering at runtime whereas on clipboard the myParamPage page does not  contain pyDisplayMode property.


Error Messages



Not Applicable.

Steps to Reproduce



1. Open pyActionArea which is an out of the box section.
2. There are two layouts which has visibility condtion set to 
    > myParamPage.pyDisplayMode = 'ActionMenuBar'
    > myParamPage.pyDisplayMode != 'ActionMenuBar'
3. Run the flow and check in clipboard under myParamPage.

Root Cause



The paramPage that is mentioned here, that is, myParamPage is being used in pzGadgetInclude. And the same page is referenced in pzActionAreaContent to execute a particular flow action.

In pzActionAreaContent there is check whether pyDisplayMode is ActionLink or not, based on that value it executes FlowActionButton_Verticals Section. 

Resolution



You can either change the page reference or the property reference.

Instead of myParamPage.pyDisplayMode = 'ActionMenuBar' condition, change 'myParamPage' and set it to 'TestParamPage'.
OR
You can also change 'pyDisplayMode'  to 'pyTestDisplay.'

Published June 12, 2015 - Updated October 8, 2020

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?

Want to help us improve this content?

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
Contact us