Display name for a reference variable

Khanna Ji
Tera Guru

Hi Team,

I have a requirement where I am showing the full name + user id of a user on a portal with a reference variable on portal. For this I have created a new field called u_user_name_id. On insert/update on user table, I am updating the field value with a contamination of the user full name + id.

Now I had changed display value to true for this field but it is affecting other catalog items where we do not want like this. It had been escalated so I changed the display value back to full name to true.

Now how can I show my newly created field value in the variable without changing the display value property?

1 ACCEPTED SOLUTION

Hi,

in that case then you need to set that field as display=true i.e. asset_tag

now one thing could be possible since that table already contains name field it would by default show during lookup but once you select it would show asset tag or the custom field

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

13 REPLIES 13

Hope you are doing good.

Let me know if that answered your question.

If so, please mark my response as correct & 👍 helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur

 

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Did you get a chance to go through my previous comment?

if you think there is any response that helps you please mark that as correct & helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@ServiceNow User 

Did you get a chance to go through my previous comment?

if you think there is any response that helps you please mark that as correct & helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Yes sir, sorry for the delay. marked it as correct.

See you at the top of the leader board one day.