Skip to main content

Notifications

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

  • shil12 Profile Picture
    shil12 30 on at
    RE: Hide Subgrid Add New button

    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

  • Suggested answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: Hide Subgrid Add New button

    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.

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans