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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 67

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans