Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Is there a way to grab a record name from another entity and pipe that into the lookup field on another entity/record?

Posted on by 2,645

Hello,

I have 1 parent entity and then 2 entities below that, that are setup side by side one another.  I am wondering if there is way to grab the active record from Entity C, and pipe that into the lookup field on entity B (there will ever only be 1 active record for Entity C).  Entity B on the record has a lookup to Entity C to pick a record to link to.  I then want to be able to save the record as soon as that is done.  So really, When someone creates a new record for B, it would pipe the information and then auto save the record right away before the user could do anything.

Can this be done?  If so, how?

*This post is locked for comments

  • Verified answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: Is there a way to grab a record name from another entity and pipe that into the lookup field on another entity/record?

    You can do that, basically when user clicks create new record - on form load you can pull the required data using web api & set the attribute.

    Once set you can force save the form. Make sure you set all the other required fields as well.

    community.dynamics.com/.../112726

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans