GlideRecord is not defined error

joanmarisse
Tera Expert

Please advise what is causing this error: GlideRecord is not defined

Thanks!

6 REPLIES 6

Mujtaba Amin Bh
Mega Guru

Please provide more info like where are you using it etc.


I am using this under server side script.


Inputted it in widget editor, my code is like this:


(function(input){


  if(!input)


  return;



var gr = new GlideRecord('new_call');


  gr.initialize();


  gr.short_description = input.short_description;


  gr.description = input.description;


  gr.insert();



})();


It should work given the table "new_call" exists.



Please attach screen shot of the error message.


Hi Sir,



here is the screenshot:


find_real_file.png