The PP.AppConfig class is a static class that contains 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 class contains settings of Foresight Analytics Platform web application specified 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. |
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 enumeration. |
DiscussConfig | The DiscussConfig field contains settings of the Share drop-down menu. | Value - JSON object with the following properties:
|
Export | The Export field contains options of report export to external formats. | Value - JSON object with the following properties:
Export formats are specified via comma. |
Metabase | The Metabase field contains repository settings. | Value - JSON object with the following properties:
|
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, 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 settings of the external service that is used for authorization (for example, Google). | Value - JSON object with the following properties:
|
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: