Author Topic: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.  (Read 4132 times)

0 Members and 1 Guest are viewing this topic.

pewande

  • Newbie
  • *
  • Posts: 2
Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
« on: October 10, 2016, 10:23:29 AM »
Hello,

normally we use visio 2013 & sharepoint 2013.

Our template has stencils, which are located on sharepoint.

After upgrading to Visio 2016 our template file dosn't load stencils, anymore.

Is this a known issue?  Ideas how to fix it?

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2947
    • Paul Herber's website
Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
« Reply #1 on: October 11, 2016, 07:48:13 AM »
What are the stencil file extensions?
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

pewande

  • Newbie
  • *
  • Posts: 2
Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
« Reply #2 on: October 12, 2016, 02:48:45 AM »
Hello

template = .vstx

stencils = .vssx

Nikolay

  • Hero Member
  • *****
  • Posts: 958
    • UnmanagedVisio
Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
« Reply #3 on: October 12, 2016, 05:32:25 AM »
Is the template and the stencil saved in the same folder on the server?

Hey Ken

  • Full Member
  • ***
  • Posts: 218
  • Just This Guy
    • The Pennsylvania Project, with Ken Krawchuk
Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
« Reply #4 on: October 12, 2016, 07:30:11 AM »

Pewande:

   I lead a team of three business systems analysts, and we experienced the same problem of SharePoint Visios losing their stencils after a SharePoint upgrade. 

   Not sure about your situation, but ours was caused by a change in the SharePoint URLs that came with the upgrade.  So when we opened a file or template in the upgraded environment, Visio was looking for the stencil using the old URL and could not find it.  We solved the problem by opening the file/template from SharePoint, manually opening the stencil on SharePoint, then re-saving the file/template back to SharePoint.  The result is that the Visio workspace is rebuilt with the proper stencil location using the new URLs.  Next time we opened the file/template, Visio knew where to look.  Problem solved.

   We’re currently using Visio 2013 and SharePoint 2010, but I’m guessing the problem we had could happen with any version.

   Hope this helps,

   - Ken

Ken V. Krawchuk
'caster

The Pennsylvania Project
Radio Podcast

10 to 11 AM Saturdays on WWDB 860 AM in Philadelphia
7 to 8 AM Mondays on KUR 1670 AM in Kutztown
On demand at http://PennsylvaniaProject.com

Nikolay

  • Hero Member
  • *****
  • Posts: 958
    • UnmanagedVisio
Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
« Reply #5 on: October 12, 2016, 11:49:50 AM »
To avoid that, you could have saved Visio and Stencil in the same folder
In this case, even if you move template/stencil to a different document library (i.e. if the stencil URL changes) Visio should still open it.

I've described my experience with setting up things here:
http://unmanagedvisio.com/configuring-sharepoint-library-to-store-visio-documents/
« Last Edit: October 12, 2016, 12:56:25 PM by Nikolay »

Hey Ken

  • Full Member
  • ***
  • Posts: 218
  • Just This Guy
    • The Pennsylvania Project, with Ken Krawchuk
Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
« Reply #6 on: October 13, 2016, 07:50:21 AM »

Nikolay:

   Yes, that would work too, but we have dozens and dozens of Visio file scattered across many SharePoint folders and all of them share the same stencil (my “Kencil”, containing a variety of custom shapes and extensive supporting macros).  Creating multiple copies of the stencil would cause its own problems, especially since it needs to get updated every now and again.  Your unmanagedvisio.com article assumes a one-to-one relation between file and stencil; you might want to add mention of handling shared SharePoint stencils.

   - Ken
Ken V. Krawchuk
'caster

The Pennsylvania Project
Radio Podcast

10 to 11 AM Saturdays on WWDB 860 AM in Philadelphia
7 to 8 AM Mondays on KUR 1670 AM in Kutztown
On demand at http://PennsylvaniaProject.com

Nikolay

  • Hero Member
  • *****
  • Posts: 958
    • UnmanagedVisio
Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
« Reply #7 on: October 13, 2016, 03:25:30 PM »
Ah, yes, understood..
if a stencil is used in multiple templates in multiple libraries that would be a problem.

If one could put SharePoint path (url) in "StencilPaths" / "TemplatesPaths" in Visio Settings that would have probably solved it :)
Of course in reality now that wouldn't work, but looks to me as if that could be something to think of for M$ ?