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 :
Microsoft Dynamics CRM (Archived)

Button (+ add new) in subgrid disappear when i change the command with new Js action ribbonworkbench

(0) ShareShare
ReportReport
Posted on by

Hello, 

I need to change the quick create form that open when i click in button + add new  in subgrid, i want to open another form when i click in + add new button. 

i changed the command of the standard button with a new JS action (OpenEntityForm) with RibbonWrokbench, but when i publish, the button disappear from the subgrid. 

2063.add-button.PNG

Thanks for your help.

*This post is locked for comments

I have the same question (0)
  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Since you changed the command, it is possible that you also did not include Display/Enable rules that were previously part of the command, which is why it is not showing anymore.

    Please check what display and enable rules exist for the previous command, and add them back to the command.

  • Community Member Profile Picture
    on at

    Thanks for your reply Aric,

    Yes i added the enable/diplay rules and the button still hidden. 

    0878.display-rule.PNG

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    I am not sure where you copied the display rules from, but most display rules will not have Mscrm.ShowForOneToManyGrids and Mscrm.ShowForManyToManyGrids in the same command. They kind of contradict each other.

    I would say please revalidate the display and enable rules that you are using.

    Hope this helps.

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    In addition try to set order of the rules with comparing another entity subgrid add new button.

    For me if you want to change the OOB functionality in that case you can create your own custom button and add the function over there.

  • Community Member Profile Picture
    on at

    Hello,

    i compared the order with another entity,I changed the order but it does not work.

    I tried to create a new button and add my function over there but the button is not diplayed.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans