Thursday, May 29, 2014

Hiding items in Action in Report Builder

Hi,


To hide these button, we need to modify the RSViewerPage.aspx. For SharePoint 2013, it is in the C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\ReportServer\ folder.


Back up the RSViewerPage.aspx file before modify it.


Open in the SharePoint Designer and add the following code into it(insert it at 69 row).


<style type="text/css">


ul.ms-core-menu-list li:nth-child(1)


{


display: none !important;


}


ul.ms-core-menu-list li:nth-child(4)


{


display: none !important;


}


</style>


Save and see the result in Internet Explorer. This code works when Document Mode is 9 or above version. You can check the Document Mode by pressing F12.



Thanks.




Tracy Cai

TechNet Community Support



No comments:

Post a Comment