Page 1 of 1

Side-Menu tab buttons

PostPosted: Wed Dec 18, 2013 7:18 am
by Jan Bayer
Hello SeedCode,

I'd like to not allow Users to use the side-menu buttons taking them to Filters, sources, etc. I can't seem to be able to find my way to them in layout mode. Then again, since the fired scripts are "off the shelf" scripts (GoTo LayoutObject, I think), it might be necessary to generate dedicated scripts ?!

Could you help me, I maybe should go through some more of your videos, but didn't find what I need in the ones I did watch …

Whatever, I wish you all a merry merry Xmas, and good season's holidays !

Bien amicalement,
Jan

Re: Side-Menu tab buttons

PostPosted: Wed Dec 18, 2013 7:31 am
by jeffalmquist
Hi Jan. The easiest way to do that might be to add an "OnTabSwitch" script trigger to the tab-control object in the sidebar. Then in your script, test to see if the current user has access to the tab they clicked on. If not, send them back to the Main tab. HTH... Jeff