GlideRecord is not defined error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2016 02:21 AM
Please advise what is causing this error: GlideRecord is not defined
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2016 02:25 AM
Please provide more info like where are you using it etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2016 02:40 AM
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();
})();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2016 02:53 AM
It should work given the table "new_call" exists.
Please attach screen shot of the error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2016 03:03 AM
