We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Display Value of list collector in client script Service Catalog

brianlan25
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

brianlan25
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.

brianlan25
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!