I have a 3 Panel Tab set up. Named Tabs - cal, cust, special.
I set up a Trigger-OnPanelSwitch to deny Access to the third Tab. This works great. I then wanted to deny Access to the second Tab. The only way I was able to get this to work on both was to set the Trigger on both Tabs to the same script. see attached script. I am curious as to why?
I have two questions on this.
1.) Was the reason it works this way was due to using one Trigger - OnPanelSwitch?
2.) What if I wanted to provide Access to Tab 2 to two Privilege sets and Tab 3 to two different Privilege Sets?
I attached the script in case the paste does not work.
Thanks-Mike
There is only one trigger for the entire slide control. Thus, the same script is performed no matter which tab panel will slide to the front in response to the swipe or mouse click. You can, however, use Get ( TriggerTargetPanel ) to detect which panel will next come into view and set up your script to respond accordingly.