Question

1
Replies
652
Views
Prasad_BY Member since 2014 12 posts
UnitedHealth Group
Posted: 1 year ago
Last activity: 1 year 9 months ago
Closed

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 Interface
Moderation Team has archived post
Share this page LinkedIn