How to fetch particular variable details in reference field.

Hrishabh Kumar
Giga Guru

Hi,

I need to create a reference field on "cmdb_ci_cloud_service_account" named : "Product Category".

Product category is going to be reference of "spm_taxonomy_node" table.

 

The reference field populates with the name of the record, but I have a custom request that "description"(one of the attributes of the referenced record) should be populated in the reference field, rather than the record name.

 

example:

Here is the form view of "cmdb_ci_cloud_service_account" table where "Product category" is created.

referenceDrilldown1.PNG

 

Here is the same referenced record from "spm_taxonomy_node".

referenceDrilldown2.PNG

 

Current behaviour : In reference field we get the names ie.. "name" attribute.

Required behaviour: I need the description ie.. "description"(one of the attributes of the referenced record) attribute, in the reference variable in "Product category" field.

 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@Hrishabh Kumar 

When you click the look-up do this

1) right click list header and click Configure -> List Layout

2) there you add whatever fields you want to be seen in right slush bucket

3) save it

This will work

If my response helped please mark it correct and close the thread so that it benefits future readers.

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