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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Hide Subgrid Add New button

(0) ShareShare
ReportReport
Posted on by 45

Hello

I want to hide the "Add new" button in a subgrid view and I dont have to use ribbon workbench

Can anyone help please maybe with a javascript webresourse if possible

  • Suggested answer
    Pradeep Rai Profile Picture
    5,489 Moderator on at

    Hi,

    it would be helpful if you can share the thought  for not using the ribbon workbench. 

    because the Ribbon workbench is easier way to customize the CRM Ribbon buttons on Main Form, Sub grid, Home Grid.

    apart from this you can use the power fx which in preview state as described in below link
    https://powerapps.microsoft.com/en-us/blog/announcing-command-designer-with-power-fx-preview/

    There is one more way by modifying the XML schema of entity but it will be time consuming process.

    I would suggest to use the Ribbon Workbench.

    Thanks,
    Pradeep.

    Please mark this as VERIFIED if it helps.

  • shil12 Profile Picture
    30 on at

    Hi Omar Bouattour 

    Ribbon Workbench is an easier way to customize the CRM Ribbon buttons on Main Form, Subgrid, Home Grid.
    Go through the provided links below
    Hide Add Button on a Subgrid
    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/270579/how-to-hide-from-a-sub-grid-using-js-only
    Hope it helps!

    Regards,
    shi012
    website: DynamicsLabs

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 89 Most Valuable Professional

#2
11manish Profile Picture

11manish 67 Super User 2026 Season 2

#3
Travis South Profile Picture

Travis South 39

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans