Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Buttons cannot be removed from custom Entities in Ribbon Workbench?

(0) ShareShare
ReportReport
Posted on by 10

Hi all

I have been working in Dynamics 365 Customer Engagement and I encountered something weird that I cannot explain:  in the ribbon workbench, it is possible to add custom buttons, they get published as expected, but when i delete those custom buttons afterwards and publish those changes, the custom button just stays visible.

Steps to reproduce:

- on the Dynamics CRM trial environment, I created a new solution, containing an unmanaged entity

- via XRMToolbox - Ribbon Workbench, I added a custom button to the subgrid ribbon of a custom entity.

- i published the changes ==> new button is visible in the forms.

- reopen the solution in xrmToolbox, delete the custom button and publish again

- reopen the solution again and look at the xml-structure:

==> the custom button is still visible on the screens and exists in the xml RibbonDiffXml:

<RibbonDiffXml>
<CustomActions>
<CustomAction Id="cre.cre_test.Button2.Button.CustomAction" Location="Mscrm.SubGrid.cre_test.MainTab.Management.Controls._children" Sequence="13">
<CommandUIDefinition>
<Button Id="cre.cre_test.Button2.Button" LabelText="$LocLabels:cre.cre_test.Button2.Button.LabelText" Sequence="13" TemplateAlias="o1" />
</CommandUIDefinition>
</CustomAction>
</CustomActions>
<Templates>
<RibbonTemplates Id="Mscrm.Templates"></RibbonTemplates>
</Templates>
<CommandDefinitions />
<RuleDefinitions>
<TabDisplayRules />
<DisplayRules />
<EnableRules />
</RuleDefinitions>
<LocLabels>
<LocLabel Id="cre.cre_test.Button2.Button.LabelText">
<Titles>
<Title description="Button 2" languagecode="1033" />
</Titles>
</LocLabel>
</LocLabels>
</RibbonDiffXml>


Is there a way to remove a wrongly added buttons to custom entities? I noticed that, for default entities like accounts, this can be done as I would expect.

Thanks in advance
Jef Elst

*This post is locked for comments

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Buttons cannot be removed from custom Entities in Ribbon Workbench?

    Hi,

    Login to https://admin.microsoft.com/Adminportal .

    Select " New Service request"

    7043.16.PNG

  • JElst Profile Picture
    JElst 10 on at
    RE: Buttons cannot be removed from custom Entities in Ribbon Workbench?

    Thank you for that confirmation.  what's the best way to contact Microsoft in this case?  (I just started working in CE, so I don't know the correct ways to contact them yet...)

  • Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Buttons cannot be removed from custom Entities in Ribbon Workbench?

    Hi,

    Would you mind to close the thread if this solve your doubt?

  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: Buttons cannot be removed from custom Entities in Ribbon Workbench?

    Hi,

    you are not alone. many of us face this problem. Please contact Microsoft in this case.

    community.dynamics.com/.../898564

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

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,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans