Web Application Settings

To ensure correct work of the web application, determine BI server connection settings and web application settings. These settings are specified in the PP.xml file that can be located in two places:

Where S is the path to the installation folder of web application back end.

For example:

C:\Program Files\Foresight\Foresight Analytics Platform 9.2 Web Application\Config\PP.xml

C:\Tomcat\webapps\pp\config\PP.xml

/var/lib/tomcat7/webapps/pp/config

/opt/Foresight/fp9.2-dhtml/config

NOTE. If the PP.xml file is located both in the web application back end installation folder and BI server installation folder, then web application settings from PP.xml in the BI server installation folder have the higher priority than the same settings from PP.xml file in the web application back end installation folder.

The PP.xml file must contain the <pp> section including child sections with settings.

NOTE. To apply the changes, restart BI server and web server used by the web application.

BI Server Connection Parameters

BI server connection parameters are defined in the sections:

Section Brief description
<service> BI server parameters allowing direct requests from browser by passing web application back end.
<proxy> BI server parameters allowing requests via web application back end.

NOTE. To ensure correct work, set the url attribute in the <service> section or in the <proxy> section. If this attribute is specified in both sections, the url attribute from the <service> section has the higher priority than the url attribute from the <proxy> section.

Description of Sections

<service>

<proxy>

Web Application Settings

Web application is set up in the sections:

Section Brief description
<metabase> Parameters of the repository in use.
<oAuthService> Login via OAuth (Twitter) settings.
<shareSettings> It determines whether the Share drop-down menu in the main menu and the set of the drop-down items must be hidden.
<cultures> It determines interface languages that are available for web application.
<modules> Settings of the Foresight Analytics Platform tools and of the extensions and custom units connections.
<export> Settings of report export to external formats.
<plugins> Additional plugins connection.
<chart> Chart settings.
<tabSheet> Table settings.
<imageLists> Sprite settings.

<embed>

It indicates whether it is possible to get a link to dashboard or dashboard block.

NOTE. To provide a correct work it is required to set up only the <metabase> section.

Description of Sections

<metabase>

<oAuthService>

<shareSettings>

<cultures>

<modules>

<export>

<plugins>

<chart>

<tabSheet>

<imageLists>

<embed>

Example

The example of minimum required settings enabling web application functioning is given.

The following options are available:

<?xml version="1.0" encoding="utf-8" ?>
<pp>
    <service url="http://localhost/fpBI_App_v9.2x64/axis2/services/PP.SOM.Som" />
    <metabase id="FPRepository"/>
</pp>
<?xml version="1.0" encoding="utf-8" ?>
<pp>
    <metabase id="FPRepository"/>
</pp>

Web application settings are specified in the PP.xml file located in the web application back end installation folder:

<?xml version="1.0" encoding="utf-8" ?>
<pp>
    <service url="http://localhost/fpBI_App_v9.2x64/axis2/services/PP.SOM.Som" />
</pp>

See also:

Installing BI Server | Setting Up Web Application to Work via HTTPS | Opening Web Application