GlideRecord not supported for Scoped application

Ketan Pandey
Tera Expert

Hi Experts,

 

Please correct my understanding that,GlideRecord is not supported scoped application,We need to use GlideAjax insted of this

5 REPLIES 5

Danish Bhairag2
Tera Sage
Tera Sage

Hi @Ketan Pandey ,

 

GlideRecord does support in scoped app as well. may I know where are you trying to use it.

 

Thanks,

Danish

SHARANsnow7
Tera Guru

Hi@Ketan Pandey Ketan Pandey  Scoped Gliderecord is used for database operations.

Here are Some of  available Gliderecord API's for scoped applications

https://developer.servicenow.com/dev.do#!/reference/api/vancouver/server

Chaitali_Vale
Mega Sage
Mega Sage

Hello @Ketan Pandey ,

GlideRecord is a class in ServiceNow and it is used to perform database operations without writing SQL queries.

You can refer below link for which purpose we use GlideRecord and where we can use : 

 
The GlideAjax class allows a client-side script to make an AJAX call to the server, execute a server-side Script Include, and even return a value.
You can refer below link for which purpose we use GlideRecord and where we can use : 
https://docs.servicenow.com/bundle/vancouver-api-reference/page/app-store/dev_portal/API_reference/G...

Please mark correct answer or helpful, if applicable.

Thanks & Regards,

Chaitali Vale

Siva Jyothi M
Mega Sage

Hi @Ketan Pandey,

 

GlideRecord is supported in Scoped Application.

 

GlideAjax is used at client Side to call script include, so that we can get data from server side.

GlideRecord is used for database operations instead of writing SQL queries. We can get the data from the tables by passing the queries.

In a Script include glide record is used to get the data.

Please refer the below link if it helps:

https://www.servicenow.com/community/developer-articles/what-is-the-difference-between-the-glide-rec...

 

Please mark this answer as correct and helpful if it solves your issue.

Regards,

Siva Jyothi M.