Error : GlideAjax is not defined When calling From client script of a UI Page

puneetgoels1
Tera Guru

I am calling a script include using glide ajax from client script in a UI page. And strangely getting this error GlideAjax is not defined. Everything is in global scope. not sure about the reason of such an error

1 ACCEPTED SOLUTION

puneetgoels1
Tera Guru

Ok. I unchecked the Direct CheckBox and it seems to be recognizing GlideAjax Now

 

find_real_file.png

View solution in original post

14 REPLIES 14

ARG645
Tera Guru

Usually this kind of error occurs if you dont instantiate your Glide Ajax call with the Key word new. Human eyes can be deceiving, are you using the below similar syntax ? 

var ga = new GlideAjax('Script Include Name');

🙂

 

I  understand but yes it is there. In fact same code is working in another instance, I just imported the file from that instance to my personal instance

Community Alums
Not applicable

Hi, 

Can you check if you have AbstractAjaxProcessor script include present in your instance?

Thanks

Ishan parikh

yes it is