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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Answered

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

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator 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.

  • Suggested answer
    Dynamics365 Rocker Profile Picture
    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.

  • Rawish Kumar Profile Picture
    13,758 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?

  • Community Member Profile Picture
    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

  • Community Member Profile Picture
    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
    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?

  • Verified answer
    Dynamics365 Rocker Profile Picture
    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

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator 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.

  • Community Member Profile Picture
    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!

  • Kalpavruksh D365 CoE Profile Picture
    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. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#2
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans