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.

Is there an easy way to change the title of a variable set via a catalog client script?

Juan Lopez
Kilo Explorer

Is there an easy way to change the title of a variable set via a catalog client script (onLoad or OnChange)?

I'm trying to reuse a variable set for common request, and don't want to duplicate data if necessary.

 

Thanks!

2 REPLIES 2

Kieran Anson
Kilo Patron

Hi Juan,

Sadly you can't dynamically change titles similar to how you can't dynamically change question names. As a solution, you could turn off the title for the variable set and add a variable label to the individual catalog items.

find_real_file.png

Juan Lopez
Kilo Explorer

Hi Kieran,

Thanks for the quick response. Yes, I was thinking about that, but I have other variable sets where I display the title, and wanted to keep formatting consistent.

Thanks.