• 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 / Visio / Visio Online / Embedding Visio documents for public viewing

Published on February 3, 2020 by David Parker

Embedding Visio documents for public viewing

I have been asked by a colleague to publish my hack for enabling Visio files to be viewed by everyone with the Visio for the Web component in reading mode on this website, or indeed any other public web site. So, here goes ….

The first thing is to view the Visio file in an online browser. The file must be stored in OneDrive (or SharePoint Online if permission for guests available). The View online option is available from the right mouse menu of a selected Visio file, if viewing in Windows Explorer, or simply open the file, if listed in the browser. Note the “…” (More Commands) button in the top right corner.

Secondly, get the Embed code, of the desired Width and Height, for the Visio document, and paste it into Notepad, or similar.

It will look something like this:

Thirdly, Copy Link for a view only Share and paste that into Notepad, or similar.

It will look something like this:

Simply replace the source document part of the html code with the view only link.

Then copy this modified code into a Custom HTML block, and hey presto!

The diagram, by the way, is from an upcoming presentation that I, and my French MVP friend, Michel Laplane, will be giving about embedding Visio diagrams within SharePoint and Teams soon. Look out for Microsoft Ignite the Tour cities and dates… and webcasts and articles….

Related

Filed Under: SharePoint Online, Teams, Visio for Web, Visio Online Tagged With: Visio Online

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

Comments

  1. David Short says

    June 25, 2020 at 3:50 pm

    Hi David

    Great tip..thanks..

    Is it possible to remove the navigation features such as zoom, pan and page tabs as part of the embed process?

    I’m trying to move away from classic view and the old Visio webpart- but this gives much greater out of the box configuration than the Modern page options

    Log in to Reply
    • David Parker says

      June 26, 2020 at 7:41 am

      Well, the Visio JavaScript API does provide this ( Visio.Application class ShowToolbar ) does provide this. I have done it in SharePoint pages but not tried in public non-SharePoint pages….

      Log in to Reply
  2. Glenn Tracy says

    December 1, 2021 at 10:00 pm

    Great article David.
    I am having a problem with embedded objects in my Visio diagram being lost when I save the drawing to Teams. It happens as well when I try and send it to someone in the corp using Outlook. I’ve been using embedded objects in Visio for many years and have not seen this issue before.
    Also, when I select the visio object in visio the icon changes and never returns to the icon I selected for it.
    I would very much like to see your presentation. Is it online?
    Thanks.

    Log in to Reply
    • David Parker says

      December 2, 2021 at 10:52 am

      Our Microsoft Ignite Tour got cut short by the pandemic 🙁 I did present in Copenhagen just before lockdown … so I have made them available to view https://bvisual.net/2021/12/02/visio-presentations-for-the-microsoft-ignite-the-tour-2020/

      Are you embedding Visio documents in other Visio documents?

      Log in to Reply
  3. Elías Patiño says

    January 18, 2023 at 5:43 pm

    Hello, Im trying to embed a diagrama to my Sharepoint site, but it only displays the exact plain code..
    Im following the same steps and still doesn´t work, how can I solve this?

    Log in to Reply
    • David Parker says

      February 9, 2023 at 12:34 pm

      If you are using SharePoint webpages, then you can use the File Viewer component of your file is stored in SharePoint or OneDrive

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

  • LinkedIn
  • Twitter

Recent Posts

  • Co-authoring and Commenting with Visio Documents
  • 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

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

  • Co-authoring and Commenting with Visio Documents
  • 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

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