Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Hide OOB Edit button based on Entity

Posted on by 475

Hello,

I want to hide OOB Edit on subgrid for specific entity. Eg in project form i have contact subgrid in that i want to hide Edit button completely when records are selected but visible from other places and advanced find .

How to achieve this?

  • Suggested answer
    Johao Larios Profile Picture
    Johao Larios 1,795 on at
    RE: Hide OOB Edit button based on Entity

    Hello Krishna,

    I think you could address this by doing some modification on the grid ribbon xml by adding an enable rule based on the conditions needed.

    Please take a look on this:

    docs.microsoft.com/.../ribbons-available-microsoft-dynamics-365

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

    Also, please check our documentation related of subgrids api:

    docs.microsoft.com/.../grids

  • Suggested answer
    Marco.P Profile Picture
    Marco.P 2,405 on at
    RE: Hide OOB Edit button based on Entity

    Hi,

    You can use ribbon workbench to set dynamic visibility.

    Please refer to these:

    https://m.youtube.com/watch?v=wUiqaR9TruU

    https://www.marksgroup.net/blog/hide-subgrid-buttons-using-ribbon-workbench/

    https://ribbonworkbench.uservoice.com/knowledgebase/topics/12162-how-to

    Hope it helps,

    Marco

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans