Which class is not included in the client-side scoped APIs?
The client-side GlideRecord API is not supported in scoped applications. Database access from scoped client scripts should instead use a client-callable Script Include through GlideAjax (or an appropriate REST API).
Community Discussion