The PP.AppConfig static class with settings of Foresight Analytics Platform web application.
This class settings can be determined in the PP.xml file.
Field name | Brief description | Value |
AppConfig | The AppConfig box contains settings of Foresight Analytics Platform web application determined in the PP.xml file. | JSON object. |
Chart | The Chart box contains charts settings in Foresight Analytics Platform web application. | Value - JSON object with charts settings method. |
Cultures | The Cultures field contains a list of available languages, into which web application interface is translated. | Value - array of element of the PP.CultureNames. |
DiscussConfig | The DiscussConfig field contains settings of the Share drop-down menu. | Value - JSON object with the following properties:
ColumnIndex/RowIndex. Index of the column or row that contains icon for menu item in the sprite. Data. Menu item name. ResourceKey. Resource key. Visible. It determines menu item visibility (true - visible, false - invisible). FocusOnOpen. It determines whether menu item is focused on opening (true - visible, false - invisible).
|
Metabase | The Metabase field contains repository settings. | Value - JSON object with the following properties:
Login. Enter via login dialog box, used by default. Domain. Login via the domain authorization. IntegratedDomain. Login via the integrated domain authorization. OAuth. Login via OAuth protocol (Twitter). SAML2. Login via SAML2 protocol.
Enabled. Indicates whether indicator is enabled. Show. Delay before displaying, ms. Hide. Delay after request execution, ms. |
Modules | The Modules field contains web application unit settings. | Value - JSON object with the following properties:
The following settings are available for all units:
The Olap, Scorecard, TimeSeries units can have the enabled property; independently on this property value the units can be inserted into a dashboard. NOTE. To know unit name, you can use the PP.App.getActiveModule method. |
OAuthService | The OAuthService field contains the OAuth service that is used for authorization (in case of authorization via Twitter). | Value - JSON object with the following properties:
|
SAMLUrl | The SAMLUrl field contains identification provider URL according to SAML 2.0 protocol. |
|
Service | The Service field contains BI server settings. | Value - JSON object with the following properties:
|
SourceTypes | The SourceTypes field contains types of data sources available in the web application. | Value - JSON object with the following properties:
|
TabSheet | The TabSheet field contains table settings in the web application. | Value - JSON object with table settings. |
See also: