Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Hide Subgrid Add New button

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

Categories:
  • 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans