Hello everyone,
I am currently trying to create a Visio that lists all Elements in a View with their respective alarm colors. Nothing too difficult.
However the generated shapes should not link to the Elements when the user clicks on them, but to a Link defined in the Properties of each individual Element (basically the Dashboard for the Element).
This needs to work when the Visio is embedded in a Dashboard as well, creating an alternative navigation possibility in the Dashboards.
Low Code Apps are NOT an option, this must be done in Dashboards by the customers requirements.
How do I do this? All my attempts resulted in the child shape being non clickable or just linking to the Element.
Best Regards,
Robert
Hi, as I don't know your exact setup, I will list some interesting options that could be usefull to create this setup.
Forcepropertyfromshape and its variants will allow you to control to which shape placeholders like [property: myProperty] point.
Equally, AllowInheritance=False controls the other side of the contexts, for example using a property shape.
Enabled: false will control which shapes are clickable.
For example, you make a parent shape: Element: <Your element>, Enabled: False and a child shape: Link: [property: <Your property>], Enabled: True, Options: ForcePropertyFromParent.
This should make a shape that when clicked, links to link in the property on that specific element.
For the part about doing alternate links in dashboards, that is not really supported. Visio pages will be the same between Cube and the web apps.
You can achieve this using duplicate pages and the Hidden option. This will allow you to add a page option with Hidden=Cube or Hidden=Mobile to hide the page if its in the web apps or in Cube
Hi Robert, can you not click on the shape or does it redirect you to the element? Using the Enabled: true and Enabled: false, shape data you can control which shapes are clickable
With kind regards,
Klaas
Hello Klaas,
I can only click on a shape that redirects to the element. If I disable a shape that redirects to the element and only enable the shape with the link it is no longer clickable.
Best Regards,
Robert
Hi Robert,
Okay I was mistaken in where you are working on this, it does seem to work in Cube but i have tried on mobile now and it does indeed not work there.
Seems like there is an issue in mobile visual overview with links within groups of which the group also is a link itself. This has never been supported apparently.
Hello Klaas,
I tried your suggestions, but sadly I can not get it to work. The property itself works, I can see the Dashboard in the window when I put # in front of the Link Shape data. But without the #, when it should just act as a Link it does not work.
Here is what I did:
– I started with the SkylineDefaultView-Visio.
– I removed everything but the Elements column and duplicated the Page with the Hidden options for Cube and Mobile
– In the Element Group I removed all Shapes exept one with the following Shape Data:
— Link: [property:MobileLink]
— Enabled: True
Even if I just put in a fixed URL in the Shape it does not work when I do it in a generated shape.
Best Regards,
Robert