The SharePoint ribbon tab (Outlook 2010/2013) can be hidden or renamed using via the following examples:
<?xml version="1.0" encoding="UTF-8"?> <configuration> <outlookMenu> <menuItem tagName="SharePointMenu" action="delete"/> <menuItem tagName="SharePointMenu" caption="Intranet" action="insert"/> </outlookMenu> </configuration>
<?xml version="1.0" encoding="UTF-8"?> <configuration> <outlookMenu> <menuItem tagName="SharePointMenu" action="delete"/> <menuItem tagName="SharePointMenu" visible="false" action="insert"/> </outlookMenu> </configuration>
<?xml version="1.0" encoding="UTF-8"?> <configuration> <outlookMenu> <menuItem tagName="SharePointMenuViewGroup" action="delete"/> <menuItem tagName="SharePointMenuViewGroup" visible="false" action="insert"/> </outlookMenu> </configuration>
The Switch to SharePoint / Outlook button looks different dependent on the current view of SharePoint.
Due to this, the <ribbonObject> node needs some additional child nodes to define the labels of each view. This is done with the <ribbonObjectState> node.
Below examples how the nodes are structured within the configuration
file:
<?xml version="1.0" encoding="UTF-8"?> <configuration> <ribbonObject tag="OPM_SharePointViewSwitch"> <ribbonObjectState state="SwitchToOutlook" label="View As Outlook" /> <ribbonObjectState state="SwitchToSharepoint" label="View As SharePoint" /> </ribbonObject> </configuration>
<?xml version="1.0" encoding="UTF-8"?> <configuration> <ribbonObject action="insert" tag="OPM_SharePointViewSwitch"> <ribbonObjectState state="SwitchToOutlook" label="View As Outlook"/> <ribbonObjectState state="SwitchToSharepoint" label="View As SharePoint"/> </ribbonObject> </configuration>
<?xml version="1.0" encoding="UTF-8"?> <configuration> <ribbonObject action="delete" tag="OPM_SharePointViewSwitch"/> </configuration>