Forum Discussion

Sam_Green's avatar
Sam_Green
Copper Contributor
Jan 08, 2024

Visio permissions error when using SharePoint File & Media Web part

Hi,

I have created a SP site with numerous pages that include the File and Media Web part to display a Visio diagram that I am having issues with.

 

Most users have view only access to all documents within the site. When view only users view a page with a Visio file displayed through the file an media web part they get a permissions error.

 

As a temporary workaround I have added a button with a direct link to a Visio file. If they click on the direct link they are able to view the file with no error. 

 

Now, when they click back on the browser, the Visio diagram displays with the following error issue.

 

Once the user clicks Try Again, they are able to view all Visio diagrams throughout the SP site for that session.

 

Part 2: Whilst view only users can view the Visio diagram they are only able to view the first page, they can not navigate through multiple page diagrams.

 

This scenario is occurs in Edge and Chrome. Users who have write access do not have this issue.

 

Has anyone experienced this or have any solutions please?

I have only be able to find one old thread similar to this issue but it has no resolution. Modern SharePoint File Viewer web part not displaying Visio - Microsoft Community

 

Thanks in advance for help.

  • chris-lynam's avatar
    chris-lynam
    Copper Contributor

    Sam_Green I have had the same issue and found that it was due to the "Restricted View" permission setting that was applied when users requested access to individual files in a document library. By using the Manage Access on the file and using the Advanced Settings to change the permission to "View Only" this allowed the Visio file to be viewed in the browser (without the error) whilst still restricting the ability to download.

    • chris-lynam's avatar
      chris-lynam
      Copper Contributor
      just to add I didn't have any problems with moving between pages in the Visio file after enabling the View Only permission

Resources