cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NurNina
Level: Powered On

Lookup field in model driven

Hi, I have a question.  If we make a lookup field in an entity, when the field is shown in model driven, it will only show the value of primary field of the entity that we lookup to. How do I choose specific field instead of the primary field? 

5 REPLIES 5
Community Support Team
Community Support Team

Re: Lookup field in model driven

Hi @NurNina ,

 

You can add a new key to your entity by opening it in the Portal (Data > Entities > Your Entity) clicking keys, and adding a new key and then select the field you want to use. Try if this could help.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
NurNina
Level: Powered On

Re: Lookup field in model driven

I have a few question: 

  1.  May I know what is the function of creating a new key? 
  2. Let's say if I created Sales Order Line that has a lookup field to product called Item. When I display the field in the Sales Orde Line form, how does the new key help me with choosing the field I want (from product) instead of the primary field (of product) ? 
MCeccacci
Level: Power Up

Re: Lookup field in model driven

The lookup field in the form always presents the Primary Attribute of the entity.
If you need more information you can automatically concatenate them in the Primary Attribute.

NurNina
Level: Powered On

Re: Lookup field in model driven

How to concatenate them in primary attribute? 

MCeccacci
Level: Power Up

Re: Lookup field in model driven

You can use Plugin or Workflow both in PreCreate and PreUpdate 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,150)