I have changed the default site map to have a link to a webresource I have added:
<Group Id="SFA" ResourceId="Area_Sales" DescriptionResourceId="Sales_Description" IntroducedVersion="7.0.0.0" IsProfile="false" ToolTipResourseId="Sales_ToolTip">
<SubArea Id="nav_leads" DescriptionResourceId="Lead_SubArea_Description" Icon="/_imgs/imagestrips/transparent_spacer.gif" IntroducedVersion="7.0.0.0" GetStartedPanePath="Leads_Web_User_Visor.html" GetStartedPanePathAdmin="Leads_Web_Admin_Visor.html" GetStartedPanePathAdminOutlook="Leads_Outlook_Admin_Visor.html" GetStartedPanePathOutlook="Leads_Outlook_User_Visor.html" Entity="lead" AvailableOffline="false" PassParams="false" />
<SubArea Id="nav_oppts" DescriptionResourceId="Opportunity_SubArea_Description" Icon="/_imgs/imagestrips/transparent_spacer.gif" IntroducedVersion="7.0.0.0" GetStartedPanePath="Opportunities_Web_User_Visor.html" GetStartedPanePathAdmin="Opportunities_Web_Admin_Visor.html" GetStartedPanePathAdminOutlook="Opportunities_Outlook_Admin_Visor.html" GetStartedPanePathOutlook="Opportunities_Outlook_User_Visor.html" Entity="opportunity" AvailableOffline="false" PassParams="false" />
<SubArea Id="nav_comps" DescriptionResourceId="Competitor_SubArea_Description" Icon="/_imgs/imagestrips/transparent_spacer.gif" IntroducedVersion="7.0.0.0" Entity="competitor" AvailableOffline="false" PassParams="false" />
<SubArea Id="NewSubArea_06e6ef22" ResourceId="SitemapDesigner.NewSubArea" Icon="/WebResources/fpx_logo32.png" Url="$webresource:fpx_directMode.html" Client="All,Outlook,OutlookLaptopClient,OutlookWorkstationClient,Web" AvailableOffline="true" Entity="fpx_myentity" PassParams="false" Sku="All,OnPremise,Live,SPLA">
<Privilege Entity="fpx_myentity" Privilege="Read" />
</SubArea>
</Group>
When I click on the icon I added there are links like New Activity, New Record, and Import Data. I don't want any of the toolbar panels in picture below showing.

Using the Ribbon Bench I have added a HideCustomAction for entity fpx_myentity.
<RibbonDiffXml>
<CustomActions>
<HideCustomAction HideActionId="fpx.Mscrm.HomepageGrid.fpx_cpqconfig.Import.Hide" Location="Mscrm.HomepageGrid.fpx_cpqconfig.Import" />
</CustomActions>
<Templates>
<RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
</Templates>
<CommandDefinitions />
<RuleDefinitions>
<TabDisplayRules />
<DisplayRules />
<EnableRules />
</RuleDefinitions>
<LocLabels />
</RibbonDiffXml>
But adding the HideCustomAction is not hiding the Import Data button. Why is this?
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (