Visio Diagrams in SharePoint

I’ve recently been working on a project for a customer who wanted to base their system around Visio process diagrams. We found a neat way of using standard Visio and SharePoint functionality to make this work for them – allowing them to build a system based on interactive diagrams.
System Structure:
The system is based on one process diagram per site. Of course you could use multiple ones per site – but this approach was simpler to manage. Since the processes could relate to multiple departments, and were to categorised in various ways, we decided to opt for creating them all at the same level, directly under a site directory.

Multiple higher level processes could relate to a single sub-process, so this flat structure allowed greater flexibility – and processes were to be connected by manual hyperlinks in the diagrams.

Step 1: Create a SharePoint site.

Note: For our client, I created a custom site definition for them to use. This was to enable me to set the default layout of the home page, as well as activate the publishing feature so they could create publishing pages alongside the processes.

My site just contained a document library, and a large page viewer on the home page:

Step 2: Upload any supporting documents to the document library.

If your diagram refers to supporting documents, the library in the process site is a good place to store them.

Step 3: Link your Visio diagram to your supporting documents

Copying the URL’s of the documents you’ve uploaded, you can create hyplerlinks from your Visio objects to them – meaning when a user click on the object, the supporting document will open up:
Copy the URL of the doc:

Create hyperlink in Visio. To connect 2 process sites together – you can just create hyperlinks here to another process site.

Step 4: Export our Diagram from Visio

In Visio, go File -> save as web page
Select a location for the exported files (there will be about 30 of them)
Click ‘Publish’. This will allow you to select the features you want to use on your diagram. A highly useful one is ‘Pan and Zoom’, which helps to cater for larger diagrams.
Make sure you have unticked the box which says “organise into folders”. You want to export all the files into a single folder, to help uploading to SharePoint.
Step 5: Upload and display in SharePoint

Create another document library in your process site, and upload the exported files:
Next – copy the URL of the main exported htm file (at the top – named after the process)
Now, just plug that URL into a page viewer on your home page. PRESTO – you should have a SharePoint site dedicated to serving an interactive Visio diagram.

This can be a really neat way of consolidating your process diagrams using SharePoint.


5 thoughts on “Visio Diagrams in SharePoint

  1. I was so excited to find this post. This is just the solution I needed, but SharePoint is making me cry today. Any reason why my Visio webpage no longer has interactivity once I load it into the viewer? The odd thing is the page works if I use it like a regular web-page.

  2. Just tried your technique and it worked like a charm! Thanks for the step-by-step instructions. Thank you, thank you, thank you!!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

About davros85

Software Engineer @ Microsoft, working with key customers to help them be successful on Azure