var stringValue = ‘string content‘;
var numericValue = 15;
function saveSettings() {
var settings = {};
settings['stringValue’] = stringValue;
settings['numericValue’] = numericValue;
var key = 'MobileWorkspaceOne'; // unique key, identifies specific settings to be stored
SPlus.WebDashboard.Settings.save(settings, key, function () {
}, function (responseError) {
SPlus.Utility.showMessage('Save Settings Error', responseError['error#displayValue']);
});
}