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)

Map values from Child Entity to Parent Entity real time

(0) ShareShare
ReportReport
Posted on by

Hi everyone!

I have this request.

I have created a Package entity which has the fields Number of Visits. On my Case entity i have a lookup field on the Package Entity and a field Remaining Number of Visits.

What i want is when i choose the Package from the lookup , to map the value of Number of Visits to my Remaining Number of Visits field on my case. Although i have done this with a workflow , it won't show the value real time like Javascript. It requires a number of refreshes to bring that value.

Is there a way to do this and display the value instantly ?

Thanks in advance!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Have you considered usage of Quick View forms? In that way you can avoid creation of additional fields and synchronization of data.

  • Community Member Profile Picture
    on at

    The reason why i'm using a lookup field is because i want to users to add only one Package. With Quick View forms that would mean i have to create a Subgrid . Also i want later one to reduce that number of remaining number of visits when a service activity is mark as completed. I think there is no way to interfere with the fields in a subgrid using a workflow.

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I'm really sorry but there is no direct relation between subgrid and quickview form (or may you know something I'm not aware of). Those components are 100% independent. The sense of quick view form is to give user ability to see in that quick view form representation of parent entity selected in lookup.

  • Community Member Profile Picture
    on at

    Can you please explain me how to do that from a Lookup field?

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Following video describes how to work with Quick View forms:

  • Community Member Profile Picture
    on at

    Thanks for your help !

    I will have to see if this works for my case. This will only show the fields from another entity , what i would like to do is to map a field from Child Entity to Parent , and then change that field on the Parent Entity to a value i want.

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Ok. If you want to map - then you can use Real-Time workflow to map those values.

  • Suggested answer
    Community Member Profile Picture
    on at

    Another way is to create a custom button on child opportunity and use pass parameter , to pass parameter fetch the record from parent entity field you will select in opportunity and pass values(stuff) to those fields in parent entity ....

    pass parameter: msdn.microsoft.com/.../gg334375.aspx

    fetch:

    arunpotti.wordpress.com/.../get-lookup-id-text-entityname-in-crm-using-javascript

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