In this article:

PP.xml

Main Sections

Additional sections

Example

config.json

Main Fields

Additional Fields

Example

Setting Up Web Application Configuration

To provide correct web application work, make sure that the folder with installed web application back end contains configuration files:

The folder with installed web application back end by default contains preset configuration files:

NOTE. When updating the web application, contents of the PPSample.xml and config-sample.json files may change. The PP.xml and config.json files are used to save the created configuration.

To apply web application configuration changes in the PP.xml and config.json files, restart BI server.

PP.xml

Default paths of the PP.xml file:

Contents of the configured PP.xml file in Linux OS and the PPSample.xml file in Windows OS:

<?xml version="1.0" encoding="utf-8"?>
<pp>
    <proxy url="" />
    <metabase id="" />
    <serviceCM ParamsUrl="http://<current IP address>:8110/fp10.x/r/#/settings"/>
    <modules commonModulesUrl="http://<current IP address>:8110/fp10.x/r/#">
    </modules>
</pp>

<?xml version="1.0" encoding="utf-8"?>
<pp>
    <service url="http://<current IP address>/FPBI_App_v10.x/axis2/services/PP.SOM.Som" />
    <metabase id="" />
    <serviceCM ParamsUrl="http://<current IP address>/FP_App_v10.x/r/#/settings"/>
    <modules commonModulesUrl="http://<current IP address>/FP_App_v10.x/r/#">
    </modules>
</pp>

The PP.xml file includes the <pp> section with main and additional subsections.

Main Sections

To provide web application work with minimum required settings, set the main sections:

NOTE. To set up BI server connection, use the <service> or <proxy> section. Simultaneous use of these sections is not allowed.

<service>

<proxy>

<metabase>

<serviceCM>

<modules>

Additional sections

To extend web application functionality, set additional subsections:

<shareSettings>

<export>

<plugins>

<chart>

<tabSheet>

<imageLists>

<embed>

<font>

Example

The example of the PP.xml file to provide web application work:

<?xml version="1.0" encoding="utf-8" ?>
<pp>
    <proxy url="" />
    <metabase id="WAREHOUSE" />
    <serviceCM ParamsUrl="http://10.7.0.100:8110/fp10.x/r/#/settings"/>
    <modules commonModulesUrl="http://10.7.0.100:8110/fp10.x/r/#">
    </modules>
</pp>

<?xml version="1.0" encoding="utf-8" ?>
<pp>
    <service url="http://10.7.0.100/FPBI_App_v10.x/axis2/services/PP.SOM.Som" />
    <metabase id="WAREHOUSE" />
    <serviceCM ParamsUrl="http://10.7.0.100/FP_App_v10.x/r/#/settings"/>
    <modules commonModulesUrl="http://10.7.0.100/FP_App_v10.x/r/#">
    </modules>
</pp>

config.json

Default paths of the config.json file:

Contents of the preset configuration file config.json in Linux OS and the config.json, config-sample.json files in Windows OS:

{
  "targetRepo": "",
  "serviceUrl": "http://<current IP address>:8110/fp10.x/app/PPService.axd",
  "locale": "en",
  "locales": ["en"],
  "title": "FAP10",
  "baseUrl": "http://<current IP address>:8110/fp10.x/",
  "themes": ["fap10"]
}

{
  "targetRepo": "",
  "serviceUrl": "http://<current IP address>/FP_App_v10.x/app/PPService.axd",
  "locale": "en",
  "locales": ["en"],
  "title": "FAP10",
  "baseUrl": "http://<current IP address>/FP_App_v10.x/",
  "themes": ["fap10"]
}

The config.json file contains main and additional fields.

Main Fields

To provide web application work with minimum required settings, set the main fields:

targetRepo

serviceUrl

baseUrl

Additional Fields

To extend web application functionality, set additional fields:

locale

locales

title

customization

metabase

modules

themes

customThemesPath

externalJs

helpUrl

kbpUrl

showVersion

webSocketPort

Example

The example of the config.json file to provide web application work:

{
  "targetRepo": "WAREHOUSE",
  "serviceUrl": "http://10.7.0.100:8110/fp10.x/app/PPService.axd",
  "locale": "ru",
  "locales": [
    "ru",
    "en"
  ],
  "title": "FAP10",
  "baseUrl": "http://10.7.0.100:8110/fp10.x/"
}

{
  "targetRepo": "WAREHOUSE",
  "serviceUrl": "http://10.7.0.100/FP_App_v10.x/app/PPService.axd",
  "locale": "ru",
  "locales": [
    "ru",
    "en"
  ],
  "title": "FAP10",
  "baseUrl": "http://10.7.0.100/FP_App_v10.x/"
}

See also:

Installing BI Server | Setting Up Web Application for Working via HTTPS | Opening Web Application