Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Ribbon button issue on UCI

(0) ShareShare
ReportReport
Posted on by 700

Hi,

We have added the ribbon button on homepage grid of application ribbon. The issue is that ribbon button is not visible when select any records from homepage grid when we deselect any record then button will be shown. This works fine on web but this issue occurred only on UCI. This is wired issue.

Anyone facing such type of issue and have resolution for it. 

Note: For testing when we remove the button from application button still we see the button on UCI. 

Thanks!

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Ribbon button issue on UCI

    Hello,

    If you are facing challenges with buttons display , then below article from Microsoft is awesome. 

    https://support.microsoft.com/en-us/help/4552163/ribbon-troubleshooting-guide

    We will be able to use an in-app tool called the Command Checker to inspect the ribbon component definitions to help us determine why the button is hidden.

    To enable the Command Checker, you must append a parameter &ribbondebug=true to your D365 application URL.

    Thanks,

    Sumit

  • Shubham Singh Profile Picture
    20 on at
    RE: Ribbon button issue on UCI

    You need to use the selection count rule on the command of that button. This will perfectly work on UCI as well as the classic.

    Refer --

    docs.microsoft.com/.../define-ribbon-enable-rules

  • Suggested answer
    Priyesh Profile Picture
    7,396 User Group Leader on at
    RE: Ribbon button issue on UCI

    Hi,

    You can refer this blog of mine on fixing ribbon button icons

    community.dynamics.com/.../349338

    For legacy buttons from the classic interface, you can refer this post -

    d365demystified.com/.../d365-unified-interface-enabling-embedded-legacy-dialogs-advanced-find

    Hope this helps!

  • Community Member Profile Picture
    on at
    RE: Ribbon button issue on UCI

    Hi Macoy , it is OOB button "Detect Duplicates" of Account entity .

  • Suggested answer
    Raj Rao Profile Picture
    on at
    RE: Ribbon button issue on UCI

    Likely connected to: https://support.microsoft.com/en-us/help/4481268/button-in-command-bar-does-not-appear-after-grid-item-selection

    As part of the design for UCI, we have changed the behavior to be more context sensitive.  Specifically, on grids, buttons are considered either "item specific" or not, and only item specific buttons are shown when one or more items are selected, while non "item specific" buttons are shown otherwise.

    This means that buttons that do not require an item to be selected, will simply not be shown when a item is selected.  

    The method that the determination is made is based on whether or not the command associated with the ribbon button has a SelectionCount rule.  If it has a SelectionCount rule, it is consdered to be an "item specific" command.

    If there is a strong scenario where users will need to run a generic command, unrelated to the items selected, during item selection, then the following workaround can be used:

    In the definition of their Custom Ribbon Command, add the following rule:

                <EnableRule Id="Mscrm.AnySelection" />

    This will cause the Unified Client to treat this command as both an item specific command, and a non-item specific command, and display in both cases.

  • Suggested answer
    Macoy Profile Picture
    275 on at
    RE: Ribbon button issue on UCI

    Hi,

    Adding an enable rule(SelectionCountRule) Minimum value of 1 to your custom ribbon button should work if you are using your ribbon button on UCI. It will show the button once you select a record(s) and automatically hide when there's no selected record. This works perfectly fine for me.

    Regards,

    Macoy

  • Macoy Profile Picture
    275 on at
    RE: Ribbon button issue on UCI

    Hi,

    Did you get any resolution for this? I am also encountering same issue as yours.

    Regards,

    Macoy

  • Balasaheb Profile Picture
    700 on at
    RE: Ribbon button issue on UCI

    Hi,

    Any update for the same.

    Thanks!

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans