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.

Getting an error for JSUtil undefined

tzsabre
Tera Contributor

We have an issue where on a page with a Data table from URL definition widget there is the error "JSUtil undefined, maybe missing global qualifier" popping up every time. I think the error starts in the var getModuleInfo = function(), but outside of that I do not know where to start addressing this.

 

The error according to the console is:

TypeError: Cannot read properties of undefined (reading 'maxCategorySelectionLimit')

TypeError: Cannot read properties of undefined (reading 'id')

These two are located in the Client Script of the IM Create/Edit Idea widget where $scope.data.moduleInfo is undefined.

Thank you,

1 REPLY 1

Roger1
Tera Contributor

Find where JSUtil is being referenced and add the "global".