We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

In class field show only backend name

Vaibhav Ramteke
Tera Contributor

Hello Team,
On change_request in class field lookup it show only backend name my issue is i want dislapy there only display name, the ref is CMDB class info.

plz suggest solutions

VaibhavRamteke_0-1784783739221.png

 

4 REPLIES 4

Nilesh Pol
Kilo Sage

@Vaibhav Ramteke Check the Reference Qualifier and AttributesAdd a reference autocomplete attribute to display labels,

for example: 

ref_ac_columns=label
ref_ac_display_value=true

on class field 

@Vaibhav Ramteke Open the class field dictionary record on change_request.

Tanushree Maiti
Tera Patron

Hi @Vaibhav Ramteke 

 

Option 1 : Refer:https://www.servicenow.com/community/developer-forum/reference-specification/m-p/3018395

 

Option 2: https://www.servicenow.com/community/developer-forum/display-name-of-referenced-field-not-being-disp...

Option3:  

  • Type sys_db_object.LIST into the application navigator to see all table records. Find the CMDB Class Info (cmdb_class_info) table.
  • Scroll down to the Columns related list
  • Look for the field that holds the clean label/display name (such as Label or a custom friendly name column)
  • Change the Display Property:
    • Open that column's dictionary record.
    • Check the Display checkbox (display=true).
    • Save the record.
  • Ensure that the backend Name or Class field has its Display checkbox unchecked, as ServiceNow only allows one display field per table

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti