Visio JavaScript APIs for Visio files stored in third party databases

Copper Contributor

As Mavim we want to be able to move our applications to the cloud as a SAAS solution for our customers.

On order to achieve this, we make use of the Office for the web functionality to show documents online.

 

We are able to view the Visio diagrams using our WOPI host implementation (https://wopi.readthedocs.io/en/latest/)

Now we need to be able to communicate with the Visio diagram and getting the name of the selected shape.

Therefor we like to use the Visio JavaScript APIs.

This particular part is blocking us to go to the cloud.

We need the ability to interact with Visio diagrams using the JavaScript Visio API when the Visio documents are stored in a 3rd party database.

 

The reason we need to interact is because we want to able to navigate to other diagrams by clicking on a shape in the Visio diagram.

 

We have been trying hard to see if we can get "shape info" of the shapes in the visio files that are loaded by the Wopi Client. Looking at the WOPI documentation (https://wopi.readthedocs.io/en/latest/scenarios/postmessage.html) we should be able to receive postmessages. However we cannot get it to work. 
We referred back to the Microsoft documentation on using the Visio Javascript API (https://docs.microsoft.com/en-us/office/dev/add-ins/reference/overview/visio-javascript-reference-ov...), additionally this is intended for SharePoint. Unfortunately we cannot get this to work either.

 

 

I hope you can help us getting all our customers into the cloud.

0 Replies