Prasad Yoganarasimha (Prasad_BY)
UnitedHealth Group
Senior Software Engineer
UnitedHealth Group
Prasad_BY Member since 2014 12 posts
UnitedHealth Group
Posted: January 7, 2019
Last activity: January 11, 2019
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.

Observed that no script or event is triggered with OOTB feature, the functionality is achieved by setting the style. Tried to achieve the same by creating javascript file, embedding that in Harness and then calling the function from Button. This did not work. Also tried by creating HTML fragment, embedding the script in that and calling the function from Button. This did not work either. Is there any way we can achieve this functionlity?

I have attached the script for reference as well. We are using PEGA 7.1.6

Pega Platform Low-Code App Development User Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.