Skip to main content
Version: 5.7.0

CallScript

This is a shortcut method for calling scripts within scripts.

It is equivalent to:

var proxy = bridge.getScriptServiceProxy();
var res = proxy.runScript("scriptName", scriptdata);

Method Parameters

ParameterDescription
scriptnameThe name of the script to call
scriptdataThe json parameters to send to the script

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab