getMetabase(cfg: Object);
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.
The getMetabase method returns an object of repository.
The method returns an object of the PP.Mb.Metabase type.
The method use is given in the example for Metabase.getOAuthToken.
See also: