PP.App.getMetabase

Syntax

getMetabase(cfg: Object);

Parameters

cfg. Repository configuration. It is a JSON object that has the following fields: Id - repository identifier, ConnectionOdId - moniker of repository connection, PPServiceUrl - service URL, UserCreds - object that contains user credentials. Value returned by the PP.App.getMetabaseConfig method can be used as a parameter.

Description

The getMetabase method returns an object of repository.

Comments

The method returns an object of the PP.Mb.Metabase type.

Example

The method use is given in the example for Metabase.getOAuthToken.

See also:

PP.App