cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JenVitug
Level 8

I need to "Lookup" a record in a CDS entity which has 2 primary keys? How do i make this work ?

I need to "Lookup" a record in a CDS entity which has 2 primary keys?  How do i make this work ?  For example the 2 primary keys are FirstName and LastName.  After user inputs First and Last names, the Editform(Form1) should be able to load the returned record based on the First and Last Name inputs.  

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: I need to "Lookup" a record in a CDS entity which has 2 primary keys? How do i make t

Hi @JenVitug,

 

This is still not possible so far in PowerApps. 

Lookup Fields for Common Data Service would only display the Primary ID in PowerApps through the dropdown, there is no way to switch to the name field.

 

To workaorund it, you need to add a custom Dropdown, then use the Lookup function to locate the name field.

See the followng thread as a reference:

Lookup field BUG in PowerApps (CDS)

 

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.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: I need to "Lookup" a record in a CDS entity which has 2 primary keys? How do i make t

Hi @JenVitug,

 

This is still not possible so far in PowerApps. 

Lookup Fields for Common Data Service would only display the Primary ID in PowerApps through the dropdown, there is no way to switch to the name field.

 

To workaorund it, you need to add a custom Dropdown, then use the Lookup function to locate the name field.

See the followng thread as a reference:

Lookup field BUG in PowerApps (CDS)

 

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.

View solution in original post

Helpful resources

Announcements
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 Kudoed Authors (Last 30 Days)
Users online (4,205)