web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How do I hide the icons on the crmTopBar

(0) ShareShare
ReportReport
Posted on by

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.

SiteMenu.png

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)
  • Suggested answer
    Abby Kong Profile Picture
    6 on at

    Hello GAlfsad,

    This 'Import Data' button should be from Application Ribbons because the page is linked to a webresource, the location should be Mscrm.BasicHomeTab.Tools.ImportData

    Try to create a solution including Client Extensions, add Application Ribbons and open this solution in RibbonworkBench. (Make sure to back up solution first before make changes)

    applicationribbons.PNG

    Regards,

    Abby

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans