Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    Abby Kong Profile Picture
    Abby Kong 6 on at
    RE: How do I hide the icons on the crmTopBar

    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans