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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.