GwtMessage is not defined

bowentc
Tera Contributor

I get javascript error when running a client script. The client script calls a script include. The code runs and returns all of the data to populate a form. But I get this error when I run it: GwtMessage is not defined. I do not call GwtMessage at any point in any of my code. Just looking to try and figure out how to fix it.

3 REPLIES 3

Joe Wong
Tera Guru

You mentioned you are using a Client script calling a script include (service-side script).  Does your script include have any "gs." references.  If so, it will not get it as "gs." is a client-side script, but if you call it within a script include (service-side script), you could get a GwtMessage is not defined error.

 

Hope this helps.

Aditya_hublikar
Giga Sage

Hello @bowentc ,

 

Could you share screenshot of your script or direct script ? So it will help to understand whats getting wrong exactly .

bowentc
Tera Contributor

I found the issue. The GwtMessage is called in another client script that runs on the same table. Now trying to find a way to suppress the error message on my specific view.