Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Enable ribbon button when subgrid contain record

Posted on by 70

I want to enable ribbon button  when my subgrid contain record ....

*This post is locked for comments

  • Suggested answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Enable ribbon button when subgrid contain record

    Hi,

     you will need to write some javascript, and you can use Ribbon Workbench to configure the buttons.

     This article explains how to control button "status" using a javascript:

    garethtuckercrm.com/.../dynamically-disable-ribbon-buttons-in-dynamics-crm

     And you can use GetTotalRecordCount method to determine the number of records in your subgrid:

    msdn.microsoft.com/.../dn932126.aspx

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans