Web Application Settings

To provide a correct work of web application, BI server connection settings and web application settings must be defined. Those 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 children sections with settings.

NOTE. In order that changes will be applied, reset BI server and web server used by 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 provide a correct work it is required to 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.
<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>

<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 and Setting Up BI Server | Opening Web Application