Version

WebDashboard.navigate

This method is used to jump to the specified SharePlus Mobile Workspace. The change is temporary and will remain until SharePlus is shut down or you jump to another mobile workspace.

Syntax

SPlus.WebDashboard.navigate (source, sourceType, function (){
    //TODO: Implementation.
}, function (errorResponse){
    var error = errorResponse['error#displayValue']; //Getting the error
    //TODO: Implement how to handle errors
});

WebDashboard.navigate Parameters

Parameter

Type

Description

source

String

The source of the mobile workspace.

sourceType

Number

The source type of the mobile workspace to be loaded.

onSuccess callback function

Parameter

Description

function ()

Success callback function to be implemented.

onError callback function

Parameter

Description

function (eResponse)

Error callback function to be implemented, which receives the eResponse JavaScript Object.

For a sample with this API method, refer to the Changing the source of a SharePlus Mobile Workspace bridge scenario.