This post covers, how to hide the button from the Server Ribbon from SharePoint 2010,
We are going to use the Feature files to hide the SharePoint 2010. First we will create a Feature file and then we’ll create a element file.
Feature.xml
Elements.xml
There was a HideCustomAction element used to hide / remove the button from Server Ribbon Control. If we want to remove particular Button / Group / Tab we have to specify the respective Button’s Location ID on HideActionId attribute.
HideActionId – Specifies the Location ID of the custom action to hide
Location – Specifies the Parent location Id of the custom action to hide.
By using HideCustomAction, we can hide / remove the Button, Group, Tab.
Example
For example I have provided a element.xml for hiding the Upload Multiple button from the Document Library.
Elements.xml
The above xml file, used to remove the Upload Multiple Documents from the Server ribbon on Document Libraries.
I have added the code in codplex, http://iotapsp.codeplex.com/
'Solution Platform' 카테고리의 다른 글
Configure Forms Based Authentication (FBA) with SharePoint 2010 (0) | 2011.06.27 |
---|---|
HOW TO:Forms Based Authentication (FBA) on SharePoint 2010 (0) | 2011.06.27 |
Fixing those pesky DCOM event log error 10016 in a SharePoint farm environment (0) | 2011.02.08 |
using Client Object model SharePoint 2010 (0) | 2010.12.24 |
SharePoint 2010 Document File Open Behavior (0) | 2010.12.09 |