Version

Configuration.getVariables

This method is used to get the variables specified in the Configuration File (config.plist).

Syntax

SPlus.Configuration.getVariables (function (variables){
        var myCustomVariable = variables['customVariable']; //Getting one of variables
        //TODO: Implement what to do with each variable
});

onSuccess callback function

Parameter

Description

function (variables)

Success callback function to be implemented, which receives a JavaScript Object with the variables specified in the Configuration File (config.plist).