Is there a way to hide /show certain shapes based on which user is looking at the Visio.
Example: In a DMS cluster if user A logs in to DMA A user A sees part of Visio X and when user B logs in to DMA B User B sees other part of Visio X.
The preferred way of doing this is with access levels.
Additionally, it's possible to show/hide shapes based on a condition:
Shape data name: Show
Shape data value:<A>-A|Value|X|=Y
This will show the shape when value X is equal to Y. Now it's just a matter of replacing X and Y with the correct values.
X or Y can reference any of the following:
[ThisGroup] Pipe separated string with all security group names
[ThisUserName] Name of the current user
[ThisFullUserName] Full name of the current user
Or any of the other existing placeholders.
Besides the default DataMiner security settings, which also apply to Visio shapes, we have the possibility to perform shape actions based on the logged in user name, user group or client MAC address.
You can include the following session variables in a condition:
[thisMAC]: All MAC addresses of the client machine, separated by pipe characters (“|”). [firstMAC]: The first MAC address in the list of active MAC addresses on the client machine. [thisusername]: The name of the current user. [thisuserfullname]: The full name of the current user. [ThisGroup]: This placeholder can be used from DataMiner 9.5.1 onwards. It is replaced with all the security groups that the currently logged-in user is part of. Multiple groups will be concatenated with a pipe ("|") character.