none
Can you configure VisioWebAccess.aspx to show/hide functionality, just link the Visio Web Access Web Part?

    Question

  • Hello,

    When you add a Visio Web Access Web Part to a SharePoint page, you can edit all sorts of settings through the Web Part properties, such as show/hide the "Open in Visio" button, Show Page navigation, disable selection, etc.

    When you open a page using VisioWebAccess.aspx (i.e. when you click a .vsdx file), you get a page that uses the same functionality.

    Does anyone know if its possible to edit the same settings, for example by including querystring parameters?

    The reason i'm asking is because I want to show Visio drawings on SharePoint wiki pages that automatically adjust to the height of the browser. I'm able to do this when I use an iFrame (using CSS calculations), but not using the Visio Web Access Web Part.


    Morgan - http://blog.morg.nl - @morgnl

    Monday, October 17, 2016 8:53 AM

Answers

  • Hi Wendy,

    That is exactly what I'm doing, and my question is about whether or not VisioWebAccess.aspx allows for switching features on and off link showing the "Open in Visio button", show page navigation, etc.

    So far, I understand that this is not possible and would require custom development.

    Thanks,

    Morgan 


    Morgan - http://blog.morg.nl - @morgnl

    Thursday, October 20, 2016 7:29 AM

All replies

  • Hi Morgan,

    If you want to hide these settings in VisioWebAccess.aspx, you need to edit the VisioWebAccess.aspx.

    In SharePoint 2013 Server, the VisioWebAccess.aspx is in the path <C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\VisioWebAccess>. However, in SharePoint Online, we are unable to edit the server page, so, per my knowledge, there is no way to do that.

    There is a similar thread about this issue, the workaround should work for SharePoint Online, you check if it is useful for you:
    http://sharepoint.stackexchange.com/questions/37588/automatically-zoom-to-fit-in-visio-web-access-aspx

    Thanks,

    Wendy


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Tuesday, October 18, 2016 8:11 AM
    Moderator
  • Thanks for your reply, Wendy.

    I had indeed checked the source of this aspx file and saw no references to parameters.

    The similar thread seems to address zooming inside the Visio Web Access Web Part. My goal is to resize the Web Part itself though, to dynamically adjust to the height of the browser. 

    I'm able to do this using an iFrame: 

    <div id="iFrameEmbed" style="height: calc(100vh - 250px); border:none;">
    <iFrame frameborder="0" src="[Url to Visio document in Visio Web Access]" width="100%" height="100%"> </iFrame>
    </div>
    I've not been able to achieve this using the Visio Web Access Web Part.


    Morgan - http://blog.morg.nl - @morgnl

    Tuesday, October 18, 2016 8:33 AM
  • Hi Morgan,

    For your requirment, I suggest you use iFrame instead of Visio Web Access web part and VisioWebAccess.aspx.

    Thanks,

    Wendy


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

    Wednesday, October 19, 2016 7:48 AM
    Moderator
  • Hi Wendy,

    That is exactly what I'm doing, and my question is about whether or not VisioWebAccess.aspx allows for switching features on and off link showing the "Open in Visio button", show page navigation, etc.

    So far, I understand that this is not possible and would require custom development.

    Thanks,

    Morgan 


    Morgan - http://blog.morg.nl - @morgnl

    Thursday, October 20, 2016 7:29 AM