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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / OData lookup field not...
Power Apps
Unanswered

OData lookup field not displaying

(0) ShareShare
ReportReport
Posted on by 14

Hi hope you can help.  We have developed an OData V4 api to expose our data to dataverse for use in dynamics crm.  It seems fine to query all rows because the lookup drop-down shows the values, but after selecting an item and clicking save on the parent entity causes the name in the lookup field to say "No Name".  Here's the details:

Parent entity: Customer Card Type - standard physical table containing a Card Type lookup field

Virtual entity: Card Type - uses microsoft OData V4 Provider just contains ID and Name fields

 

The Account form has a grid showing Customer Card Type:

bytestrype_0-1624553854763.png

 

Editing or creating a new Customer Card Type:

bytestrype_2-1624554124118.png

using where criteria in Advanced Find proves that two of the Customer Card Types have C4D for Card Type and the other one has ESSO, so the data is saving correctly but the grid on Lead (and inside advanced find) doesn't display the name.  Strangely if all 3 Customer Card Types are given the same Card Type (eg C4D) the names appear ok in the grid - seems it cant handle multiple values.

 

I made the OData as simple as possible for testing:

bytestrype_3-1624554686371.png

 

Any ideas?  Thanks

I have the same question (0)
  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @bytestrype,

    Couple of things to check:

    1. The "(No name)" shows whenever the primary field/column of a table is blank. It is recommended that every row has a primary column value. Here's the definition of the primary column:
      "By default, every table contains a Primary Field, which is used by lookup columns when establishing relationships with other tables. Typically the primary column stores the name or primary description of the data stored in the table. You may update the name and display name of the primary column before saving the table for the first time. Also, observe that the primary column also has its own Name box, which functions similarly to the table name described above. The primary column name is autopopulated when a display name is entered, uses the same prefix as the table, and cannot be changed after the table is created."
      Make sure that field/column is populated and that your virtual table field/column configure is mapped.
    2. The lookup column/field drop down on Customer Card Type that shows ESSO Net seems to set be another column than the primary column. Can you check the configuration of the View that is bound to the lookup? It seems like it pointing to another field which is why you don't see "(No name)"

    Hope this helps!

  • byst Profile Picture
    14 on at

    Thanks @EricRegnier .  i have checked the config and all seems ok.  I have made progress, the OData api wasnt handling $filter properly, so now the list works ok

    bytestrype_0-1624636970592.png

    now trying to get the single edit page to display the lookup value.

    bytestrype_1-1624637067406.png

     

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Good to hear you made some progress. Do check the Primary Name column as per my previous post so that you don't see "(No Name)"...

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard