Recrods can be created on the Client Script via "GlideRecord.insert()" even the High Security Settings" Plugin is activated and the system property "glide.script.use.sandbox" is set to true.

Steps to Reproduce:
1. Log in as admin.
2. Create the following onChange Client Script on the incident table Category field.
Name: Test Glide
UI Type: Desktop/All
Type: onChange
Field name: Category
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
if (isLoading || newValue === '') {

//Type appropriate comment here, and begin script below
if(newValue == "software"){
var gr = new GlideRecord("incident");
gr.short_description = "test gliderecord.insert client side";
3. Navigate to "".
4. Select Software for field Category.
5. A new incident has been created.

According to the following documentation, "GlideRecord" Data Manipulation methods are not allowed in the Client Script if "glide.script.use.sandbox" is set to true.

Per TASK CSTASK017723, it should be "GlideRecord" Data Manipulation methods are not allowed in the Client Generated Script.

Document requested DOC76503 has been raised.

Article Information

Last Updated:2019-11-25 13:40:20