Facing issue with SidebarToggle button

0
Hi team, I have a question regarding SidebarToggle button I want know how can i register Onclick value of SidebarToggle button. any suggestions on how can I register Onclick value. Thank you
asked
3 answers
1

Hi Mujaeit,

 

Are you using the switch widget? If so, you can use the on change action to call e.g. a microflow where you can check the new value and do something with that.

 

Hope this helps!

answered
0

if You add the “on click” microflow or nanoflow and pass the object which is used to render the switch.

u can get the value of switch widget from the $object/booleanAttribute in that nanoflow/microflow.

 

answered
0

Hi Mujaeit,
you cannot change the OnClick action of a SidebarToggle, as it is used to toggle a sidebar.
You can only set the Toggle mode of the sidebar that should be toggled.

If you wish to add a custom OnClick action, just use a default action button.

answered