If you are an Office 365 subscriber using Visio Services then you will be pleased to hear that we have made an update to Visio Services, changing the way we handle hyperlinks and navigation for a better user experience and especially an optimized touch experience.
If a shape contains a single hyperlink, Visio Services will navigate that hyperlink as soon as you touch the shape or click on the shape. Very easy navigation for both mouse and touch scenarios.
If you have the Shape Information pane open, the hyperlink navigation is not automatic as it is assumed that you are interested in viewing any data that is linked to the selected shape. In this case a hyperlink button is displayed so you can choose to navigate.
Also notice that the hyperlinks are listed in the Shape Information pane.
If a shape contains multiple hyperlinks, you get a nice menu listing each of the hyperlinks.
This allows you to easily choose which to navigate using the mouse or touch.
You may not like the styling of the default hyperlink panel and want to provide your own button with your own style and placement.
You may want to provide your own panel as an overlay that includes detailed information about the selected shape as well as navigation options.
You might want to use logic to determine if the hyperlinks are valid for the viewer to navigate to. Visio shapes can contain multiple hyperlinks. Sometimes these hyperlinks are used by the owner/author of the diagram for documentation purposes and are not intended for the consumer of the diagram.
…many other reasons!
To disable the default hyperlink behavior you can just check this item in the web part property dialog.
How do I build a dashboard with navigation
Attached is a collection of files that demonstrates many capabilities using Visio Services:
- Custom overlays for adding additional capabilities to selected shapes.
- Navigation via Hyperlinks using custom overlays for touch and non-touch devices.
- Communication with additional web parts, Excel Web Access web part and another Visio Web Access web part.
Included with the attached example is a library of helper functions that I use with the Visio Services API.