Visio Guy

Visio Discussions => Visio 2016 Issues => Topic started by: pewande on October 10, 2016, 03:23:29 PM

Title: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
Post by: pewande on October 10, 2016, 03:23:29 PM
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?
Title: Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
Post by: Paul Herber on October 11, 2016, 12:48:13 PM
What are the stencil file extensions?
Title: Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
Post by: pewande on October 12, 2016, 07:48:45 AM
Hello

template = .vstx

stencils = .vssx
Title: Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
Post by: Nikolay on October 12, 2016, 10:32:25 AM
Is the template and the stencil saved in the same folder on the server?
Title: Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
Post by: Hey Ken on October 12, 2016, 12:30:11 PM

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

Title: Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
Post by: Nikolay on October 12, 2016, 04:49:50 PM
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/
Title: Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
Post by: Hey Ken on October 13, 2016, 12:50:21 PM

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
Title: Re: Visio 2016 + SharePoint 2013 = Template doesn't load stencils.
Post by: Nikolay on October 13, 2016, 08: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$ ?