Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

'Add new' button is missing on subgrid in a form

Posted on by 50

Hi everyone, 

I'm trying to add 'Add new' button to a subgrid because it is missing.

In details, I'm customizing Appointment entity , I created two custom entities with Notes, then I related them with a relation 1:N from Appointment.  One of the two lookup relations is business required , the other one is facultative.

So I created two subgrids in the Appointment creation form , for adding istances of these two objects to an Appointment.

But I have no 'Add new' button showed on the subgrids. I'am using admin role.

In the ribbon workbench there is not a ADD NEW button for both custom entities.  It is missing, not hidden.  I'm following this tutorial creating a new button, but nothing is showed.

https://ribbonworkbench.uservoice.com/knowledgebase/articles/489288-show-or-hide-the-add-new-button-on-form-sub-grid

This problem is born after I customized ribbon buttons for Appointment. Before the button was present.

To understand the problem , I created a third entity and insert a subgrid for it, but the behaviour is the same. So I am excluding the problem is on subgrid ribbon customization for the custom entity.

Any suggestions?

Thanks in advance

*This post is locked for comments

  • RE: 'Add new' button is missing on subgrid in a form

    Hi ,

    thanks everyone but i solved the problem.

    Actually my fault is I hided the button by customizing applicationribbon entity in my solution. And so in cascade  I hided this button on all subrigds.

    I had many problems for customizing my ribbon from ribbon workbench  solution , because I didn't know that  when i have to change the ribbon of an entity, I must work only on one solution containing applicationRibbon, this specific entity and no another one.  Otherwise I could incur in timeout exceptions.

    Finally I solved when I used a display context rule for hiding 'addexisting' button in subgrid of my customized entity, so the addnew button is available as default on these subgrids. Of course the new diplay context rule is added by customizing the command associated to the 'addexisting' button.

    Kind Regards

  • Shahis Profile Picture
    Shahis 170 on at
    RE: 'Add new' button is missing on subgrid in a form

    Have you tried to add an out of box entity to see if you get that button? This is most likely caused due to enable/display rule. You might want to start looking at those rules using the ribbon workbench tool.

    Thanks,

    Shahid

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: 'Add new' button is missing on subgrid in a form

    Hi Eugenia,

    Can you please check if you have removed command from button while customizing button. Else it can be happen by either using custom js inside enable rule or display rule.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: 'Add new' button is missing on subgrid in a form

    What ribbon customization you did for appointment?

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans