cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

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? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
New Member

Re: Lookup field in model driven

You can use Plugin or Workflow both in PreCreate and PreUpdate 

View solution in original post

6 REPLIES 6
Highlighted
Community Support
Community Support

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.
Highlighted
Helper IV
Helper IV

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) ? 
Highlighted
New Member

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.

Highlighted
Helper IV
Helper IV

Re: Lookup field in model driven

How to concatenate them in primary attribute? 

Highlighted
New Member

Re: Lookup field in model driven

You can use Plugin or Workflow both in PreCreate and PreUpdate 

View solution in original post

Highlighted
Helper I
Helper I

Re: Lookup field in model driven

I would love to know the answer to this question as well. 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (10,654)