0

I am trying to create a link to a document through a WOPI Frame (apologies if my terminology is terrible).

The URL to my file is: https://mydomain/sites/mysite/Documents/myfilename.vsdx

When I try to use: https://mydomain/sites/mysite/_layouts/15/WopiFrame2.aspx?sourcedoc=https://mydomain/sites/mysite/Documents/myfilename.vsdx (I am told that for some reason the right URL is WopiFrame2, not just Wopiframe, though going through just Wopiframe gives the same result) I just get to the root folder where my document is.

What is the right way to do this?

3 Answers 3

4

On-premises does not support Visio in Office Online Server so this will not be possible. Visio Graphics Services is what can display a Visio document in the browser, however it also requires Silverlight.

2

If you are in fact trying to show a VSDX file, I think that's the issues. If memory servers, WOPI has no function for Visio files. This is because Visio is a service application available at the Enterprise Lic level.

To verify my guess, you should test the same code with a Excel or Word file.

PS To simply create a link, I've used "https://site/library/file1.docx?web=1"

1
  • So this works for docx files. The instructions I trying to follow are here: support.office.com/en-us/article/… (specifically step 5). Do you see a way to do it? Also, from what you are saying, it doesn't matter if its a .vsd file instead?
    – soandos
    Apr 8, 2018 at 16:22
0

Try this: (took out 2 and added &action=default at the end

https://mydomain/sites/mysite/_layouts/15/WopiFrame.aspx?sourcedoc=https://mydomain/sites/mysite/Documents/myfilename.vsdx&action=default

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.