• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

bVisual

  • Home
  • Services
    • How Visio smartness can help your business
    • Visio visual in Power BI
    • Visio Consulting Services
    • Visio Bureau Services
    • Visio Training and Support Services
  • Products
    • Visio Shape Report Converter
    • SS Plus
    • LayerManager
    • visViewer
    • Metro Icons
    • Rules Tools for Visio
    • The Visio 2010 Sessions App
    • Multi-Language Text for Visio
    • Document Imager for Visio
    • multiSelect for Visio
    • pdSelect for Visio
  • Case Studies
    • Case studies overview
    • Using Visio in Education for GIS
    • Visualizing Construction Project Schedules
    • Visio Online Business Process Mapping
    • Nexans Visio Template
    • CNEE Projects, WorldCom
    • Chase Manhattan Bank
  • News
    • Recent news
    • News archive
  • Resources
    • Articles➡
      • ShapeSheet Functions A-Z
      • Comparing Visio for the Web and Desktop
      • Customising Visio Shapes for the Web App
      • Key differences between the Visio desktop and web apps
      • Using the Visio Data Visualizer in Excel
      • Using Visio in Teams
      • Creating Visio Tabs and Apps for Teams with SharePoint Framework (SPFx)
      • Designing Power Automate Flows with Microsoft Visio
      • Innovative uses of Visio Lists
    • Webcasts ➡
      • Visio in Organizations
      • My session and other Visio sessions at MSIgnite 2019
      • Power up your Visio diagrams
      • Vision up your Visio diagrams
      • The Visio 2010 MVP Sessions
    • Visio Web Learning Resources
    • Books➡
      • Visualize Complex Processes with Microsoft Visio
      • Mastering Data Visualization with Microsoft Visio
      • Microsoft Visio Business Process Diagramming and Validation
      • Visualizing Information with Microsoft Visio
  • Blog
    • Browse blog articles
    • Visio Power BI articles
    • Visio for Web articles
    • A history of messaging and encryption
  • About us
    • About bVisual
    • Testimonials
    • Bio of David Parker
    • Contact Us
    • Website Privacy Policy
    • Website terms and conditions
    • Ariba Network
You are here: Home / SharePoint / SharePoint 2013 / Displaying SharePoint Document Library Column Values on Visio Services Diagrams

Published on February 10, 2015 by David Parker

Displaying SharePoint Document Library Column Values on Visio Services Diagrams

It is often useful to be able to link text or graphics to the values in the SharePoint document library that a Visio diagram is stored in. A SharePoint Document library is just a list with columns and Visio 2013 documents can be linked to the data in SharePoint lists … and it will be automatically refreshable. This means that Approval Status changes, for example, can be displayed as text or icons. This article goes through the methodology of linking data from the SharePoint document library to the Visio document.

First, I created a Visio Cross-Functional Flowchart document that was saved into a Visio Process Library in SharePoint 2013 online. Note that it could be in any document library which has versioning enabled, and it does not need to be this particular diagram type.

image

The initial Approval Status is Draft, and the Title column is hidden in this view of the list.

image

I could then use the Link Data to Shapes function, and select either to link the list or a view of the list, as below:

image

This provided me with an External Data recordset, with far too many columns:

image

I switched off some of the columns with the Column Settings dialog. Note that I later realised that I should have checked the Data Type of the Name column because I did not really want it to be automatically creating a hyperlink.

image

I then linked the row from the External Data window to the border shape of my cross-functional flowchart. It could, of course, have been any other Visio shape, but this seemed suitable for this purpose.

image

This linking causes the columns from the External Data window to become Shape Data rows on the shape.

image

I then thought it would be simple to link the Title column from the library to replace the Title text in the border shape. Therefore I added some text into the Title field on SharePoint.

image

I then modified the view settings to display the Title column in SharePoint. In fact, I had to modify all of the template views.

image

In Visio, I ensured that the option to Overwrite user changes to shape data was ticked.

image

I then wanted to replace the Title text in the border shape, but I realised that the actual text was in a sub-shape of the group, so I checked the ID of the group shape that contains the Shape Data with the DEVELOPER \ Shape Name button.

image

Knowing the ID of the group shape meant that I could use INSERT \ Field with a Custom Formula ( = Sheet.1!Prop._VisDM_Title ) to replace Title with data linked text.

image

So, the text is now going to be automatically refreshed from the SharePoint document library list column value.

image

I then checked the document back into SharePoint.

image

This action then requested that I decide on the version and to enter any optional comments.

image

The Approval Status changed to Pending

image

So, I then had to decide whether to Approve or Reject my own changes.

image

This dialog then enabled me to Approve or Reject the changes to the Visio document:

image

The Approval Status changed again in the SharePoint list:

image

The Shape Info pane in the Visio Web Access web-part in a SharePoint web page automatically updated with the latest values.

image

I did notice that the Visio Web Access control displays the numeric equivalent of the Approval Status:

0 = Approved

1 = Rejected

2 = Pending

3 = Draft

However, this methodology means that I can now reflect the Visio documents version, status, etc., as text and/or graphics within the Visio document itself. This is very useful for version control, and for including on any prints that may also be created.

Related

Filed Under: SharePoint 2013, Visio 2013 Tagged With: Visio Services

About David Parker

David Parker has 25 years' experience of providing data visualization solutions to companies around the globe. He is a Microsoft MVP and Visio expert.

Reader Interactions

Trackbacks

  1. Making unused data-linked SharePoint columns in Visio invisible automatically | bVisual - for people interested in Microsoft Visio says:
    March 26, 2015 at 10:29 am

    […] and why I sometimes a SharePoint document library to Visio documents in a previous article ( see http://blog.bvisual.net/2015/02/10/displaying-sharepoint-document-library-column-values-on-visio-ser…). I mentioned that I always switch off the visibility of some columns because they are rarely […]

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

  • LinkedIn
  • Twitter

Recent Posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Categories

Tags

Accessibility Add-Ins Connectors Containers Data Export Data Graphics Data Import Data Visualizer Educational Excel GraphDatabase Hyperlinks Icon Sets JavaScript LayerManager Layers Legend Link Data to Shapes Lists MSIgnite MVP Office365 Org Chart PowerApps PowerBI PowerQuery Processes Setup and Deployment Shape Data Shape Design ShapeSheet ShapeSheet Functions SharePoint 2013 SQL Teams Validation VBA Video Visio Visio 2007 Visio for the Web Visio Online Visio Services Visio Viewer Webinar

Footer

bVisual Profile

The UK-based independent Visio consultancy with a worldwide reach. We have over 25 years experience of providing data visualization solutions to companies around the globe.

Learn more about bVisual

  • Amazon
  • E-mail
  • Facebook
  • LinkedIn
  • Twitter
  • YouTube

Search this website

Recent posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Copyright © 2025 · Executive Pro on Genesis Framework · WordPress · Log in