Question
5
Replies
2663
Views
Posted: March 28, 2018
Last activity: July 12, 2018
Closed
Action on Layout Expand/Collapse
Hi,
I need to unhide a link when my layout is expanded and hide it when i collapse it. My layout is set to Collapsible header type and expanded onload.
Can anyone help me in setting an action over the exapand/collapse icon?
Thanks
Hi ganginena,
Thanks for posting on PSC.
You could achieve your business requirement with steps:
I am not sure about configuring an action set on expand/collapse icon.
- Create a flag property and assigned it a default value when the section is loaded.
- Configure above-created property in a "When" rule to hide/unhide the link.
- Have an action set "Run Activity/Run Data Transform" to update the value "OnClick" of the icon such that "When" condition hide/unhide the link/desired portion in the UI.
Hope it gives you the high-level idea. Kindly notify for larger Pega audience.
Regards,
Asif