Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Autopopulate lookup values coming from parent entity

(0) ShareShare
ReportReport
Posted on by 879

Hello everyone,

With reference to this post: (+) Set field value on another table automatically after record creation - Dynamics 365 General Forum Community Forum that was solved based on   assistance, I have two tables linked as (Project Resource Table (1:N)-> Schedule table).

What I want to achieve is the below:

  • When I click on a new item from the grid and from the Project resource table which is the parent entity, I would like to populate the project name and the resource name fields that are coming from the Project Resource ID field that is being populated automatically on the form of the schedule table which is the child entity and that Project Resource ID already has those two values assigned on the parent entity (Project Resource Table).

Table-Aa.PNGTable-B.PNG

RelationshipType.PNG

I have tried to filter the lookup field as below but it is not populating the values when I click new item directly from the sub-grid:

8357.Capture.PNG

What is the best way to achieve the above? I am doing something wrong or it should be done in a different way?

I would highly appreciate if you can provide an example.

Best regards,
EBMRay

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,961 Moderator on at
    RE: Autopopulate lookup values coming from parent entity

    Hi,

    You can achieve your requirement with calculated field as well

    docs.microsoft.com/.../define-calculated-fields

    If mapping mentioned in above post does not work then try with calculated field. Also you can use Real Time Workflow to auto populate those fields value and you can mark read only on from.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • EBMRay Profile Picture
    EBMRay 879 on at
    RE: Autopopulate lookup values coming from parent entity

    Hi a33ik ,

    Thank you so much for providing this amazing post.

    I was able to achieve my requirements.

    Btw I am one of your followers and keep up the good work!

    Best regards,

    EBMRay

  • Verified answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: Autopopulate lookup values coming from parent entity

    Hello,

    The easiest way for you is to use "Mapping". Check this post that can help you - www.marksgroup.net/.../

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,575 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans