Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to use Template Value as table column

davilu
Mega Sage

Hi Everyone,

Our team came across a table in ServiceNow Share that had a column with type Template Value, which allows a user to choose different columns from a given table:

find_real_file.png

When we tried to replicate this, we get an Invalid Reference error:

find_real_file.png

Can someone provide some guidance on how to create a field type like this?  

6 REPLIES 6

Rupam_39
Giga Guru

Hi Davilu,

You can set the "template_value" data type visible on the "type" field, by setting the visibility of "template_value" data type on "sys_glide_object" to  true. Below is the list view snapshot of the table, listing the template_value field type.

Hope this helps!!!.

Mark this as Helpful if it does the job.

find_real_file.png

Hi Rupam,

I am also having this concern ,but here i cant able to change  visible to true.

Please help me in making that visible to true.

Thanks,

Arjun.

Rupam_39
Giga Guru

The URL to navigate to the list of "sys_glide_object" table is https://<instance_name>/nav_to.do?uri=sys_glide_object_list.do

I came to know about this from one of the Chuck Tomasi's TechNow videos

Arjun Yuva Teja
Tera Contributor

Hi community,

I also having this requirement which i need to fulfill by getting template value type visible while selecting field type for custom fields on the form.

Can anyone help me solving this.

Thanks,

Arjun.