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 to hide Ribbon button in document associated grid

(0) ShareShare
ReportReport
Posted on by

Hi,

Please suggest solution on how to hide ribbon button on document associated grid using ribbon workbench 

2260.12.PNG

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nithya Gopinath Profile Picture
    17,078 on at

    Hi,

    You could write JavaScript to hide the ribbon button in the document associated grid. Try the following code.

    function hideButton(){
    var Button = $('#NameOfGrid_NameOfButton');
    if(Button.size())
    Button.hide();
    else
    setTimeout(hideButton, 1000);//checks every second to see if the button exists yet
    }

    Then add this function on load of the form.

    Refer stackoverflow.com/.../crm-ribbon-workbench-hide-button-on-sub-grid

  • Suggested answer
    Andreas Cieslik Profile Picture
    9,267 on at

    Maybe this thread can give you the right pointers to solve it:

    community.dynamics.com/.../163060

  • Verified answer
    Community Member Profile Picture
    on at

    Entity for Document is Sharepoint Document. Add this entity to a solution. Open the solution in the Ribbon workbench. Hide the button you want in subgrid buttons.

  • Tim Loring Profile Picture
    85 on at

    Hi,  Did you ever find an answer to this?  Thanks

  • Hittori Profile Picture
    72 on at

    I wish he found it, because now I am looking for the same answer and I cannot find it.

  • TCOM Profile Picture
    10 on at

    I know this is an old question however for anyone who is also experiencing this issue.

    I found that in my case I was adding the Document Locations Entity to my Ribbon workbench solution but I should have been adding the SharePoint Document Entity to customise these buttons.

    Within the subgrid of SharePoint Document I was able to edit these buttons.

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