Notifications
Announcements
No record found.
Hi,
Please suggest solution on how to hide ribbon button on document associated grid using ribbon workbench
*This post is locked for comments
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
Maybe this thread can give you the right pointers to solve it:
community.dynamics.com/.../163060
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.
Hi, Did you ever find an answer to this? Thanks
I wish he found it, because now I am looking for the same answer and I cannot find it.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2