Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)
Answered

"No Name" is displayed instead of the look up name

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All,

I have read a few threads but cannot seem to get one to help me.

So I have an entity called "Note". Now in that entity I have a lookup field (Opportunity), this all seems to work fine until I select the opportunity in the lookup field. For some reason, it displays "No Name". I have checked the mapping and everything seems fine however I just can't fix this issue. I am not the best at coding so any help I get will be really appreciated. 

I am thinking maybe there is a bit of code I can add to the On Change Event?

Thanks in advance. 

*This post is locked for comments

  • Kalpavruksh D365 CoE Profile Picture
    Kalpavruksh D365 CoE 2,545 on at
    RE: "No Name" is displayed instead of the look up name

    Do you manually select an opportunity or it is getting populated automatically? It happens if you try to get the name from entityreference "name" property. 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: "No Name" is displayed instead of the look up name

    This worked.

    I noticed as soon as the topic field was populated, the lookup field starting displaying as expected.

    Thanks alot!

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: "No Name" is displayed instead of the look up name

    Hi Tom,

    As mentioned before, this issue is occurring because you do not have the primary field selected. For opportunity, the field name is topic by default unless changed, which you need to populate for all the existing records as well as new records.

    To fix this for a single record, you need to open that record(you can click on the non name to open the record) once the opportunity record is opened, you can put the topic. In case you don't find title field in the opportunity form, you will need to customize and add the field in the form.

    Refer below screenshot-

    opp21.png

    Hope this helps.

  • Verified answer
    Dynamics365 Rocker Profile Picture
    Dynamics365 Rocker 7,755 on at
    RE: "No Name" is displayed instead of the look up name

    Open Advanced find.

    Look for opportunity and In views select new.

    Check condition "Topic" contains Data.

    Take help from below post:

    crmbook.powerobjects.com/.../searching-crm

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: "No Name" is displayed instead of the look up name

    Hi Rocker,

    Could you run me through this please?

    What's the best way to check if topic has a value on that field?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: "No Name" is displayed instead of the look up name

    Hi Ravi,

    Can you talk me through how to populate a real time workflow for this.

    I have populated the field but I am still having the same error:

    www.screencast.com/.../WCit6ys78r

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: "No Name" is displayed instead of the look up name

    Hi Rawish.

    Opportunity field is a lookup based on the opportunity list.

    I have a Newly created entity called Note and it has a relationship with Opportunity.

    When I select the opportunity field, it displays all the opportunities in the drop down. However when i select it, then it goes displays as "No Name"

    See the following image:

    www.screencast.com/.../WCit6ys78r

  • Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: "No Name" is displayed instead of the look up name

    are you saying that you are just simply associating the opportunity. And while selecting the name appears ( as in , in the lookup view?).

    does this happen as soon as you add the opp or post you save the record?

  • Suggested answer
    Dynamics365 Rocker Profile Picture
    Dynamics365 Rocker 7,755 on at
    RE: "No Name" is displayed instead of the look up name

    There is no need of code.

    Please check that opportunity has any value in "Topic" field.

    Topic(Name) is a primary field of opportunity entity and if you leave it blank then "no name" will appear in lookup.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: "No Name" is displayed instead of the look up name

    Hi,

    The "No Name" appears if you do not set the name field of the entity. By default every entity has a primary name field which is used in lookups. It must <your prefix>_name e.g. new_name. You need to populate that field to fix this issue.  You can create a real time workflow which populates this field.

    Hope this helps.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans