33 views

Symptoms


Console Error when " $('sysparm_id').value" is used on catalog client script.

s_includes_listv2_doctype.jsx?v=03-19-2018_0958&lp=Fri_Jun_08_07_10_35_PDT_2018&c=19_260:2894 Uncaught TypeError: Cannot read property 'isFilterEnabled' of undefined
at isFilterEnabled (VM553 js_includes_listv2_doctype.jsx:2894)
at HTMLTableElement.<anonymous> (VM553 js_includes_listv2_doctype.jsx:2671)
at Function.each (VM503 js_includes_doctype.jsx:23149)
at n.fn.init.each (VM503 js_includes_doctype.jsx:23149)
at loadFromTables (VM553 js_includes_listv2_doctype.jsx:2666)
at HTMLDocument.<anonymous> (VM553 js_includes_listv2_doctype.jsx:2906)
at i (VM503 js_includes_doctype.jsx:23149)
at Object.fireWith [as resolveWith] (VM503 js_includes_doctype.jsx:23149)
at Function.ready (VM503 js_includes_doctype.jsx:23149)
at HTMLDocument.J (VM503 js_includes_doctype.jsx:23149)

Release


Kingston,Jakarta

Cause


 '$('sysparm_id').value' is rendered only if there are any variables being shown in the variable editor on any form. 

Resolution


 Add variables of the catalog item in the variable editor  and display the variable editor on form.

Article Information

Last Updated:2018-08-03 00:52:06
Published:2018-07-30