web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

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

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans