5.1.1  Configuring the Data Space

The data space can be configured in the Enterprise Manager by accessing the 'Repository' > 'Data Space' node on the navigation tree, under the Server tab. This opens the 'Data Space Configuration' page where the storage type for the data space can be specified. Two storage types are supported: 'File System' and 'Database'.

Figure 14. Data Space Configuration

 

File System Data Space

When 'File System' is selected as the data space storage type, the data space is the SREE Home directory (e.g., WEB-INF/classes, by default).

The 'Asset File Path' property specifies the path to the asset.dat file containing Data Worksheets and Viewsheets. Enable the 'Asset File Backup' option to create an automatic backup of this asset file at the specified recurring time.

Database Data Space

To use 'Database' as the storage type, ensure that the database is correctly configured in the Enterprise Manager under 'Configuration' > 'Database'. (See Configuring Database for Audit/Data Space for more information). The data space can then be configured to use the database as follows:

1. Access the 'Data Space Configuration' page ('Repository' > 'Data Space' in the navigation tree, under the Server tab).

2. Select 'Database' as the storage type.

3. Click on the 'Create Schema' button to generate the database schema to be used for the data space, and click 'Apply'.

4. (Optional) If the database contains multiple asset packages (Work­sheets/Viewsheets) from a previous import, select the appropriate package in the 'Asset File Path' field.

This is a one-time import. Edits made to files in the file system after this point will not be reflected in the database data space.

5. If the data space was previously configured for 'File System' stor­age, you can import the existing data space files into the database. Click on the 'Import' button to import the files from the file system into the database.

This opens the 'Import Exceptions' dialog box. If the database schema already contains files, the 'Import Exceptions' dialog box lists database files whose contents may currently differ from their file system counterparts.

 

6. Click the check boxes next to the assets you wish to be overwritten by the file system versions. To select all assets, click the 'Select All' button below the table.

7. Click the 'Import' button.

8. Click the 'Apply' button to save all the changes.

To clear the data space when using the database storage type, click 'Delete Schema'. This is useful when you want to re-deploy the application.

When database storage is specified for the data space, newly created reports will be added to the database at the time that they are deployed (from within Style Studio or from the Enterprise Manager). Alternatively, reports can be added to the database by uploading files under the Data Space tab.

<< 5.1 Data Space © 1996-2013 InetSoft Technology Corporation (v11.4) 5.1.2 Managing Resources in the Data Space >>