SPlus.WebDashboard.Settings.save (settings, key, function (){
//TODO: Implementation
}, function (errorResponse){
var error = errorResponse['error#displayValue']; //Getting the error
//TODO: Implement how to handle errors
});
This method is used to save custom settings for the SharePlus Mobile Workspace. The settings can be any JSON object and they persist even if SharePlus is shut down.
SPlus.WebDashboard.Settings.save (settings, key, function (){
//TODO: Implementation
}, function (errorResponse){
var error = errorResponse['error#displayValue']; //Getting the error
//TODO: Implement how to handle errors
});
For a sample with this API method, refer to the Persisting SharePlus Mobile Workspaces Settings bridge scenario.