onChange script error: ReferenceError: g_list is not defined function () { [native code] }

Joshuu
Kilo Sage

Hi All,

I am getting "onChange script error: ReferenceError: g_list is not defined function () { [native code] }" error in requested item form for one catalog item as below.

find_real_file.png

Here is the onchange script for this..

find_real_file.png

Can you please assist.

1 ACCEPTED SOLUTION

Hi Priya,

I could see the Applies on Requested Item checkbox is true.

This catalog client script should be applied on catalog item view and not on RITM.

Try to set that checkbox as false and try loading the RITM record

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Priya,

What are you trying to achieve here?

Are you trying to set some list collector based on change of some other variable?

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Yes Ankur..

Hi Priya,

I could see the Applies on Requested Item checkbox is true.

This catalog client script should be applied on catalog item view and not on RITM.

Try to set that checkbox as false and try loading the RITM record

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Thanks Ankur, error is gone now. 🙂