Visio JavaScript APIs for Visio files stored in third party databases

%3CLINGO-SUB%20id%3D%22lingo-sub-1737411%22%20slang%3D%22en-US%22%3EVisio%20JavaScript%20APIs%20for%20Visio%20files%20stored%20in%20third%20party%20databases%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1737411%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20Mavim%20we%20want%20to%20be%20able%20to%20move%20our%20applications%20to%20the%20cloud%20as%20a%20SAAS%20solution%20for%20our%20customers.%3C%2FP%3E%3CP%3EOn%20order%20to%20achieve%20this%2C%20we%20make%20use%20of%20the%20%3CSPAN%3EOffice%20for%20the%20web%3C%2FSPAN%3E%20functionality%20to%20show%20documents%20online.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20able%20to%20view%20the%20Visio%20diagrams%20using%20our%20WOPI%20host%20implementation%20(%3CA%20href%3D%22https%3A%2F%2Fwopi.readthedocs.io%2Fen%2Flatest%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwopi.readthedocs.io%2Fen%2Flatest%2F%3C%2FA%3E)%3C%2FP%3E%3CP%3ENow%20we%20need%20to%20be%20able%20to%20communicate%20with%20the%20Visio%20diagram%20and%20getting%20the%20name%20of%20the%20selected%20shape.%3C%2FP%3E%3CP%3ETherefor%20we%20like%20to%20use%20the%20Visio%20JavaScript%20APIs.%3C%2FP%3E%3CP%3EThis%20particular%20part%20is%20blocking%20us%20to%20go%20to%20the%20cloud.%3C%2FP%3E%3CP%3EWe%20need%20the%20ability%20to%20interact%20with%20Visio%20diagrams%20using%20the%20JavaScript%20Visio%20API%20when%20the%20Visio%20documents%20are%20stored%20in%20a%203rd%20party%20database.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20reason%20we%20need%20to%20interact%20is%20because%20we%20want%20to%20able%20to%20navigate%20to%20other%20diagrams%20by%20clicking%20on%20a%20shape%20in%20the%20Visio%20diagram.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20been%20trying%20hard%20to%20see%20if%20we%20can%20get%20%22shape%20info%22%20of%20the%20shapes%20in%20the%20visio%20files%20that%20are%20loaded%20by%20the%20Wopi%20Client.%20Looking%20at%20the%20WOPI%20documentation%20(%3CA%20href%3D%22https%3A%2F%2Fwopi.readthedocs.io%2Fen%2Flatest%2Fscenarios%2Fpostmessage.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwopi.readthedocs.io%2Fen%2Flatest%2Fscenarios%2Fpostmessage.html%3C%2FA%3E)%20we%20should%20be%20able%20to%20receive%20postmessages.%20However%20we%20cannot%20get%20it%20to%20work.%26nbsp%3B%3CBR%20%2F%3EWe%20referred%20back%20to%20the%20Microsoft%20documentation%20on%20using%20the%20Visio%20Javascript%20API%26nbsp%3B(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice%2Fdev%2Fadd-ins%2Freference%2Foverview%2Fvisio-javascript-reference-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice%2Fdev%2Fadd-ins%2Freference%2Foverview%2Fvisio-javascript-reference-overview%3C%2FA%3E)%2C%20additionally%20this%20is%20intended%20for%20SharePoint.%20Unfortunately%20we%20cannot%20get%20this%20to%20work%20either.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20you%20can%20help%20us%20getting%20all%20our%20customers%20into%20the%20cloud.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1737411%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EVisio%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

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