Client Script in Xanadu.

Gaurav69
Tera Contributor

Hii, I just noticed some new fields named 'Mobile Callable' and 'Sandbox enabled' in Client Script form. Can you tell me their significance. They are True/False.

Thanks in Advance.

2 ACCEPTED SOLUTIONS

Robbie
Kilo Patron
Kilo Patron

Hi @Gaurav69,

 

The 'Mobile Callable' flag allows developers to create a script include which can be called from Mobile UI Rule Actions. This would be used within Mobile App Development.

The 'Sandbox enabled' flag allows you to run client-generated scripts inside a sandbox that has restricted rights.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.



Thanks, Robbie

View solution in original post

Kieran Anson
Kilo Patron

Mobile Callable - Allows a script include to be used as part of a Mobile UI rule action. 

Sandbox Enabled - Previously, the "client callable" flag determined what could be called from a client via GlideAjax and what could be used inside the script-runtime sandbox. This has now been broken out into two seperate checkboxes.

 

What's the script-runtime sandbox? This has been in the instance since the early days and is not well known. Certain scripted operations run in a secure sandbox and limit access to API calls and access to scripts. An example of this is when you use javascript: in the filter builder. 

View solution in original post

2 REPLIES 2

Robbie
Kilo Patron
Kilo Patron

Hi @Gaurav69,

 

The 'Mobile Callable' flag allows developers to create a script include which can be called from Mobile UI Rule Actions. This would be used within Mobile App Development.

The 'Sandbox enabled' flag allows you to run client-generated scripts inside a sandbox that has restricted rights.

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.



Thanks, Robbie

Kieran Anson
Kilo Patron

Mobile Callable - Allows a script include to be used as part of a Mobile UI rule action. 

Sandbox Enabled - Previously, the "client callable" flag determined what could be called from a client via GlideAjax and what could be used inside the script-runtime sandbox. This has now been broken out into two seperate checkboxes.

 

What's the script-runtime sandbox? This has been in the instance since the early days and is not well known. Certain scripted operations run in a secure sandbox and limit access to API calls and access to scripts. An example of this is when you use javascript: in the filter builder.