Dynamically hide/show Perspective Dock handle based on user roles

Hello everyone,

I’m using Ignition Perspective (8.1.47) with a Dock for navigation. In Page Configuration –> Shared Settings there is a feature autoHide Handle, but this setting appears to be static and not changeable at runtime.

My requirement is simple:

  • Some roles (e.g. Office/Admin) should see and use the Dock handle

  • Other roles (e.g. Operator/HMI) should not see the handle and should not be able to open the Dock

All users are active simultaneously, so this must be per-session and role-based, not global.

And my questions are:

  • Is there any supported way to dynamically control Dock handle visibility based on roles (Maybe access to Dock ID - look at the picture below)?

  • If Page Configuration cannot be changed at runtime, is the recommended approach to hide/disable a custom handle component instead?

Thanks for any guidance.

Pictures:

I don't think you'll be able to make this work cleanly. You should make a permanently accessible dock that includes or hides a nested view based on roles.

I do this and use bindings to control what navigational components render based on the session's auth properties.

1 Like