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.

Display Value of list collector in client script Service Catalog

Brian Lancaster
Kilo Patron

I have a requirement where I need to display what was selected in a list collector in a text box along with some other fields.  I tried using g_form.getDisplayBox('variable name').value which has been mentioned in some other posts for reference fields but that does not seem to work for list collectors.  How can I achieve this requirement.

1 ACCEPTED SOLUTION

Brian Lancaster
Kilo Patron

I ended up just using a script include for this.

View solution in original post

9 REPLIES 9

Mike Patel
Tera Sage

I posted a comment on that link but it does not seem to work for a list collector.

Brian Lancaster
Kilo Patron

I ended up just using a script include for this.

Hi Brian! I am trying to figure out the same thing as you. When you have a chance, would you be able to post your solution/code please? 🙂 Thanks!