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

Allowed location paths for 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>:80/FPBI_App_v10.x/axis2/services/PP.SOM.Som" />
    <metabase id="" />
    <serviceCM ParamsUrl="http://<current IP address>:80/FP_App_v10.x/r/#/settings"/>
    <modules commonModulesUrl="http://<current IP address>:80/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:80/FPBI_App_v10.x/axis2/services/PP.SOM.Som" />
    <metabase id="WAREHOUSE" />
    <serviceCM ParamsUrl="http://10.7.0.100:80/FP_App_v10.x/r/#/settings"/>
    <modules commonModulesUrl="http://10.7.0.100:80/FP_App_v10.x/r/#">
    </modules>
</pp>

config.json

Allowed location paths for 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/"
}

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

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

helpUrl

kbpUrl

showVersion

externalJs

webSocketPort

Example

The example of the config.json field 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:80/FP_App_v10.x/app/PPService.axd",
  "locale": "ru",
  "locales": [
    "ru",
    "en"
  ],
  "title": "FAP10",
  "baseUrl": "http://10.7.0.100:80/FP_App_v10.x/"
}

See also:

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