Visio Guy

Visio Discussions => Visio 2010 Issues => Topic started by: Nikolay on February 12, 2013, 05:19:19 PM

Title: Visio 2010 loads file from SharePoint site several times when called using API?
Post by: Nikolay on February 12, 2013, 05:19:19 PM
When I open a document from SharePoint library using Visio 2010/2007 API (Documents.Open),

Documents.Open "http://mysharepointsite.com/Diagrams/MyVisioDiagram.vdw"

Visio downloads the same file from the SharePoint 3 (!) times for some reason:

(http://dl.dropbox.com/u/82866570/12-02-2013%2017-17-54.png)

When I open document using UI (File -> Open), Visio reads the file only once.

(http://dl.dropbox.com/u/82866570/12-02-2013%2017-39-16.png)

It seems that no such issue exist with Visio 2013 (file is always read once)..
Maybe I am missing something here (or have some configuration/security issue in SharePoint)?
Why Visio downloads drawing data 3 times  when called from API and is there a way to avoid that?

Thank you in advance!

P.S. All queries were recorded using Fiddler (http://www.fiddler2.com/fiddler2/).