Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Answered

(no name) showing up in the lookup field

Posted on by 7,314

Hi,

One of the lookup fields on the form shows up as empty and when selected displays '(No Name)'. I have exhausted myself trying to resolve it but could not. Hope someone can guide me through this.

We have recently migrated to Dynamics 365 online from CRM 2016 onprem. Nothing has been changed surrounding this lookup field and there aren't any business rules or js that sets its value. This field is actually pointing to 'Team' entity where we have county names in it. 

I do have a script though that reads value from this field and I noticed while debugging that the 'id' of the lookup comes fine but 'name' shows 'null'. Not sure why it would do that, because I do see the primary field populating the name correctly in the lookup entity. When it pulls the 'id', it should pull the name as well.. isn't it?

I see something is buggy with the 'name' and hence it isn't populating well in the lookup view. Can somebody please share if you have any ideas troubleshooting this issue?

Thanks for any help! 

  • jdalske Profile Picture
    jdalske 536 on at
    RE: (no name) showing up in the lookup field

    I am running in to the same issue with Leads that I connected to an Opportunity.  It was working fine but after the latest update it stopped working and instead of filling in Topic it fills in Name.  Name is empty although it appears to be a primary field and I am struggling to set Topic as the primary.  See my results below.  I checked all the settings and its all correct with exception of Topic being is the first column of the lookup but I can't move it. So I think I will wait for it to fix itself also - perhaps the next cumulative update.

    pastedimage1679933277442v1.png

  • meenoo Profile Picture
    meenoo 7,314 on at
    RE: (no name) showing up in the lookup field

    After lots of tweaks and frustrations, it started working fine all by itself. May be somewhere something needs to be redone. I honestly don't know what fixed it. I can only feel sorry for others who experience this issue. Such a pain! Many thanks to all the responses which helped learn more.

  • Pankaj Gogoi Profile Picture
    Pankaj Gogoi 3,177 on at
    RE: (no name) showing up in the lookup field

    Can you also check the filtering option for the default view?

    Best Regards

    PG

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: (no name) showing up in the lookup field

    Hi meenoo,

    This is quite strage.

    Could you check default lookup view? The primary field ‘Team Name’ has added?

    You can try to create a new team and fill it in lookup field to check.

    If the lookup field is filled by mappings setup, you can delete the mappings and re-added the mapping back in and published my changes.

    http://www.antony-butcher.co.uk/2018/07/relationship-mapping-bug.html

    when all done, you can clear the cache or use another explore to login.

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • meenoo Profile Picture
    meenoo 7,314 on at
    RE: (no name) showing up in the lookup field

    Thanks for the response, Leah Ju.

    I do see 'Team Name' populating with out any issues. When I click on No Name, it takes me to the team form and I do see the team name there. Even when I do advanced find for 'Team name' does not contain data, I get 0 results.

    One interesting thing I noticed though, lookup field has this 'recent records' link which shows team names nicely but when I click on 'All records' they turn blank.

    So, it means the setup is correct but something seems to be corrupted somewhere, not sure what it is? Any ideas?

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: (no name) showing up in the lookup field

    Hi meenoo,

    You can check following points:

    1.primary name field is not filled.

    For Teams, the field name is Team Name, you need to populate for all the existing records as well as new records.

    (1) To fix this for a single record, you need to open that record (you can click on the ‘no name’ to open the record) once the opportunity record is opened, you can put the Team Name.

    pastedimage1599013552415v1.png

    (2) Open Advanced find.

    Look for Team and select new in views, check condition "Team Name" does not contains Data.

    Then click Results to see records exist or not?

    pastedimage1599013564177v2.png

    2.Make sure to keep primary field in Lookup view – UCI.

    (1) go Settings > customization > customize the system > entities > one entity > form to double-click the lookup field, open Field Properties to see default view that use.

     pastedimage1599013684835v6.pngpastedimage1599013570256v3.png

    (2) go Settings > customization > customize the system > entities > Team > views > Team lookup view.

    pastedimage1599013582089v4.png

    (3) Make sure primary field ‘Team Name’ is added.

    pastedimage1599013594794v5.png

    You can also refer following link:https://himbap.com/blog/?p=3833

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,349 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,212 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans