Visio awareness of SharePoint Workspace offline cache question

Started by tsteele3rt, January 27, 2011, 06:18:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tsteele3rt

I wanted to use a SharePoint document library to host Visio stencils. I further wanted to use SharePoint Workspace to take the stencil document library offline.

The problem I am encountering is that programatically trying to open the stencil using the VBA code (below) fails when there is no network connection. In other words, Visio does not seem to be aware of the SharePoint Workspace, local version of the stencil.

Application.Documents.OpenEx "http://192.168.7.55/Stencils/Nicely Named Stencil.vss", visOpenRO + visOpenDocked

Similar code works in Microsoft Word where the VBA "open" method pointing to a "web address" will properly open a document from the SharePoint Workspace cache.

Is there a different technique I need to use to make this work with Visio? Or will a future release of Visio be SharePoint Workspace aware?

Any help/feedback would be greatly appreciated.

Thanks,
Tom

Paul Herber

One problem is that spaces are not allowed in URLs, they should be encoded by using %20, i.e. http://192.168.7.55/Stencils/Nicely%20Named%20Stencil.vss
but whether Sharepoint understands that I know not.
Electronic and Electrical engineering, business and software stencils for Visio -

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

tsteele3rt

At first I thought you might have been on to something, but the code does open the stencil if a network connection exists. It just doesn't seem to be aware of the local cache in a SharePoint Workspace scenario.

Thanks for responding.

Tom

Paul Herber

Ah, this might be more of a Sharepoint question rather than a Visio question.
Maybe Visio Guy could add a SharePoint category to this forum.
Electronic and Electrical engineering, business and software stencils for Visio -

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

tsteele3rt

It definitely is SharePoint related, however, I think the core question is whether or not the Viso object model is aware of SharePoint Workspace offline cache. The main reason I tihnk it is Visio related rather than SharePoint related is that the MS Word object model (e.g. Open methods) seem to be aware of and use the offline cache without needing to do anything special in SharePoint.

tsteele3rt

With some further investigation, I now believe the proper terminology for my question would be something like:

When will Visio be made aware of the Office Document Cache (ODC)?

It seems that Word and the other Office applications are already aware of the ODC but Visio currently is not :-(