Hi,
we could make use of following xml definition for that
Hides from Grid
<HideCustomAction Location=”Mscrm.HomepageGrid.contact.MainTab.ExportData” HideActionId=”Sample.HomepageGrid.contact.MainTab.ExportData.HideAction”/>
<HideCustomAction Location=”Mscrm.HomepageGrid.contact.MainTab.Collaborate” HideActionId=”Sample.HomepageGrid.contact.MainTab.Collaborate.HideAction”/>
<HideCustomAction Location=”Mscrm.HomepageGrid.contact.MainTab.Workflow” HideActionId=”Sample.HomepageGrid.contact.MainTab.Workflow.HideAction”/>
Hides from form
<HideCustomAction Location=”Mscrm.Form.contact.MainTab.ExportData” HideActionId=”Mscrm.Form.contact.MainTab.ExportData.HideAction”/>
<HideCustomAction Location=”Mscrm.Form.contact.MainTab.Collaborate” HideActionId=”Mscrm.Form.contact.MainTab.Collaborate.HideAction”/>
<HideCustomAction Location=”Mscrm.Form.contact.MainTab.Workflow” HideActionId=”Mscrm.Form.contact.MainTab.Workflow.HideAction”/>
We can get the Location value from the following sample code of sdk
…….\sdk\samplecode\cs\client\ribbon\exportribbonxml\exportedribbonxml
Hope it helps !
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.
