LoginForm.getMetabaseConfig

Syntax

getMetabaseConfig(context: Object, mbCfg: Object);

Parameters

context. Context, within which you need to execute this method. Currently it is not used

mbCfg. Object that contains metabase configuration parameters. It is identical to JSON object returned by the method.

Description

The getMetabaseConfig method returns metabase configuration parameters.

Comments

The method returns the object with the following properties: Id - repository identifier, Authentication - authentication mode, ConnectionOdId - repository connection moniker, ExportUrl - data export URL, PPServiceUrl - service URL, UserCreds - object with user credentials, and repository connection event Opened and error generation event on connection Error.

Example

The method use is given in the example for LoginForm.checkPwdPolicy.

See also:

LoginForm