Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Passing field values to quick create from subgrid of "All record types"

Posted on by

I have a situation where I have two entities -- one is the Contact entity and the other is a custom entity that has a N:1 relationship to contact. On the custom entity form, I'd like to include a subgrid of cases. Because case is not directly related to this custom entity, I cannot use the "related records" type for the subgrid. So I'm using the "All Records Type" -- When a user clicks on the "+" on the subgrid to create a case, I'd like to pass the quick create form the proper value of the Contact that is associated to the custom entity record. Is there a way to do this with javascript either on the custom entity form, using the subgrid object, or on the case quick create form? Or some combination of these? If my question is unclear, I'd be happy to clarify. Thanks in advance for any help. 

*This post is locked for comments

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Passing field values to quick create from subgrid of "All record types"

    I think you can write a workflow or javascript that will update the contact related custom entity based the condition you provide. But the script function should be called "OnSave" of Cases "Quick Create Form".

    Hope the below links may be helpful for you.

    community.dynamics.com/.../197378

    www.inogic.com/.../automatic-record-creation-or-update-rules-in-dynamics-crm-2015-sp1

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