News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Visio 2010 loads file from SharePoint site several times when called using API?

Started by Nikolay, February 12, 2013, 05:19:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nikolay

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:



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



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.

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 146 (show)
Files included: 32 - 1207KB. (show)
Memory used: 1020KB.
Tokens: post-login.
Cache hits: 13: 0.00127s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]