web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans