Disable Tabs in Ignition Vision Tab Strip Based on Security

I'm currently working on a project in Ignition Vision, and I'm looking for a solution to disable certain tabs in a Tab Strip component based on the user's security and roles.

Ex.
I want to disable the user management tab for users that do not have a specific role.

Create a custom property on the tab strip we'll call it showUserManagement. Create and expression binding on this property with an expression. Something like:

hasRole("Administrator)

Create a Cell Update binding on Tab Data property of the dataset on the HIDDEN column of the row for the tab you want to hide, and set the value equal to the custom property that you just added.

4 Likes

Ive let my vision skills get rusty, how do you do this part?

That's just a typo. Put the cell update binding on the "Tab Data" property:

1 Like

I realized that part, but where is your cropped screenshot from?

Click this, and the other menu will appear:
image

1 Like