Hide display name in reference variable

Ashok76
Tera Contributor

Hi All,

            I have used the following filter in variable attributes for custom table field

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_group_approvers,ref_ac_columns_search=true,ref_ac_display_value=false

find_real_file.png

 

My requirement is to display just a single list of group approvers field and I have set "ref_ac_display_value=false"

Stil the display name is visible along with group approvers

find_real_file.png

 

please suggest any changes to syntax  to display only one field(group approvers)

8 REPLIES 8

Sai Kumar B
Mega Sage
Mega Sage

Hi Ashok,

The "ref_ac_display_value" attribute is not listed on the available Service Catalog attributes page. I'm assuming that this means it's not compatible with the Service Catalog.

Reference - https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/product/service-catalog-managem...

Instead try as below,

1.) Set these in variable attributes

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=u_group_approvers,ref_ac_columns_search=true

2.) Log-out, Log-in and clear cache using cache.do in app navigator as @Ankur Bawiskar stated in the below thread

Reference - https://community.servicenow.com/community?id=community_question&sys_id=0aa871f3db1ddc14feb1a851ca96...

Hi Sai,

           Thanks for your suggestions and community reference,

I had cleared my cache and updated the variable attributes along with an additional change of marking u_name as display = false

 

I am still seeing both u_name and group approvers in reference list

 

I believe There's only one option you have to set the u_name display value to false in the dictionary record if you do that it will impact all the u_name referenced fields

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

the field which is set as Display=true will be shown along with other fields if you wish to do so.

you cannot remove that display field using ref_ac_display_value=false

I tried it earlier and it didn't work for me

Regards
Ankur

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