In Visio it's possible to display/hide a shape based on the security group level.
It works fine for a shape linked to an element but i'm not able to make it work for a shape not linked to any element/service/view
Does the Level shape data work for shape not linked to anything ?
As mentioned in the help, the level of the shape data field will be compared to the access level the user has on the element/view/service or redundancy group the shape or page is linked to.
That means that indeed, if the shape is linked to none of those, it has nothing to compare to and will thus always be shown.
Visuals (meaning shapes with NO shape data that determines their type) don’t have any logic behind them. This improves performance because it doesn’t have to retrieve any data related things. A shape with only the “Level” set is such a visual. You can work around this by linking the shape to the object of the card and disabling it + using the NoAlarmColorFill option. That way it still looks like the visual you want, but has the object link.
Note: If I’m being honest, we should detect the Level shape data and then make the shape into a “non linked visio shape”. Those shapes do have logic behind them and can thus apply the level. Not sure if it’s worth the effort compared to other fixes given the workaround we have though.
Thanks Toon for your prompt answer.
Why it doesn’t compare the Level shape data with the User group level ?