Posted: 7 Jan 2019 13:21 EST Last activity: 11 Jan 2019 1:16 EST
How to Expand/Collapse Left Side Bar on Portal from a Custom Button or Link?
We have a requirement to expand/collapse left side bar using a button or link on screen along with other actions from that button/link. We are able to use the OOTB functionality on the left side bar to expand and collapse, however we would like to achieve it from a button or link on screen.
I have attached the script for reference as well. We are using PEGA 7.1.6
Once you see the hamerburg icon on the left top panel , you can hide the aside (left panel ), by calling a method , window.top.removeScreenLayoutMask(); if the left pane is expanded , (also see if removeScreenLayoutMask(); only works).