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
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.
This worked.
I noticed as soon as the topic field was populated, the lookup field starting displaying as expected.
Thanks alot!
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-
Hope this helps.
Open Advanced find.
Look for opportunity and In views select new.
Check condition "Topic" contains Data.
Take help from below post:
Hi Rocker,
Could you run me through this please?
What's the best way to check if topic has a value on that field?
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:
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:
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?
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.
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.
André Arnaud de Cal...
292,162
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156