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 / Lookup displayed as "N...
Power Apps
Unanswered

Lookup displayed as "No Name" in Model Driven App

(0) ShareShare
ReportReport
Posted on by 294

Hi,

I am looking up a record using Lookup in a model driven app. The selection list displays properly, but when I select a record, it's displayed as "No Name" (see image). What am I missing? I've properly configured my lookup views and lookup search fields with no issues.

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @karimabdelrazek ,

    Could you please share a bit more about your issue?

    Do you mean that the LookUp field options list displays properly, but the selected option could not be displayed correctly in this field?

    Have you tried to select other option in this LookUp field Dropdown box? Same issue?

     

    Regarding the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:

    4.JPG

     

    When you select an option from a LookUp field in a Model-Driven app, the Primary Name field value of the selected LookUp field option (record value) would be displayed in the Dropdown box. So please check if the Primary Name field value of the selected LookUp field option is not Blank in the Related Entity (this LookUp field reference values from).

     

     

    If the issue still exists, please consider edit the corresponding Entity form (used in your Model-Driven app) in your CDS, then remove the LookUp field, then save and publish the Entity form. Then edit the Entity form again, enable the LookUp field, save and re-publish, run your Model-Driven app, check if the issue is solved.

     

    Also please make sure you have tied proper Entity form in your Model-Driven app. You could also consider create a new custom Entity form in your CDS Entity, then edit your Model-Driven app, bind the "Entity Form" part to your new created Entity form only, then check if the issue is fixed.

     

    Regards,

  • karimabdelrazek Profile Picture
    294 on at

    @v-xida-msft . Thank you for your reply. Can you please explain what you meant by "Have you tried to select other option in this LookUp field Dropdown box?"

    Regarding use of the primary field. The data I wish to display is not in my PrimaryField. The PrimaryField is actually blank. Is there a way to point the Lookup to another field like in Canvasapps?

  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @karimabdelrazek ,

    Regarding the needs that you mentioned, I afraid that there is no way to achieve your needs. In default, the LookUp field in a Model-Driven app use the Primary Field column value as display value within the LookUp field Dropdown box.

     

    Currently, there is no direct way to change the display value within the LookUp field in a Model-Driven app. Please check the following article for more details:

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/261061/change-look-up-displayed-value/735917

     

    On your side, please consider populate proper value within the Primary Name field in your related Entity, then the LookUp field Dropdown box would be populated with proper value.

     

    You could also consider customize the Display column value of the Entity using JavaScript, please refer to the following article:

    https://docs.microsoft.com/en-us/archive/blogs/paf/how-to-display-related-entity-field-in-a-crm-lookup-instead-of-the-primary-entity-field

     

    Regards,

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard