Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Identify the sub grid id that open form

Posted on by 50

I have on Entity A form , 4 sug grid on Entity B. When I click on the '+' button on sub grid, I open the Quick create form of entity B.
I need to identify on which '+' button I clicked...
Any clue?

*This post is locked for comments

  • Suggested answer
    razdynamics Profile Picture
    razdynamics 17,304 User Group Leader on at
    RE: Identify the sub grid id that open form

    Hi Laurent

    You can override the sub grid entity buttons and call your custom JavaScript functions for a different sub grid entity.

    On click of button you will come to know as you can pass entitytype. You can either call existing CRM function that opens the child records or own method to open the sub grid record with parent populated. You can get the existing functions by customizing new button command. Usually it will be the same for all sub grids.

    The following should help you;

    http://missdynamicscrm.blogspot.com/2015/08/tweak-modify-ribbon-in-crm-2013-subgrid.html

    Best Wishes, Raz

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans