var source = ‘http://spdemo/demo/SiteAssets/MobileWorkspaces/Demo.web.zip‘;
var sourceType = 0;
function setDashboardSource() {
SPlus.WebDashboard.setSource (source, sourceType, function () {
}, function (responseError) {
SPlus.Utility.showMessage('Save Settings Error', responseError['error#displayValue']);
});
}