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 365 | Integration, Dataverse...
Suggested Answer

How to get a record column value based on the selected lookup value?

(0) ShareShare
ReportReport
Posted on by 190

So I have a form that has the item lookup field.  When i select the value for the field, I want the value of another column from that same selected lookup record.

For example one of the records of the items table:

primary name = glue, chemical = no

So in a form, when i select glue, I want another field in the form to show 'no'.

Is it better to use javascript or power automate?  How to do it for each?

I have the same question (0)
  • Suggested answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    do you need to copy or just to show the value? because if you need to show you can use a quick view form connected to the lookup, if you need to copy, you can do with javascript (attach to the onchange event and use a Xrm.WebApi call to retrieve the field and copy to the desired field)

  • bp3378 Profile Picture
    190 on at

    Guido Preite

    How do I connect it to the lookup?  The chemical field in this form is a text field, but the  column attached to the lookup field is a choice.  

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 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 49 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans