Skip to main content
Skip table of contents

Changes to Configuration Options in this Release - SuperWEB2

From version 9.0 onwards, a number of changes have been made to how SuperWEB2 is configured:

  • Some options that were previously set in <tomcat_home>\webapps\webapi\WEB-INF\faces-config.xml and <tomcat_home>\webapps\webapi\WEB-INF\web.xml are now defined in a new configuration file, <tomcat_home>\webapps\webapi\WEB-INF\classes\configuration.properties.
  • Some options that were previously set in the configuration files are now set in SuperADMIN.

The following is a summary of some of the changes. If you are upgrading from an older version then you will not be able to use your existing configuration files. You will need to follow the new instructions to recreate any previous configuration adjustments.

Annotations

Whether configured annotations display and whether to automatically expand the annotations panel.

Previously Configured Infaces-config.xml
Now Configured In configuration.properties
Full DetailsConfigure Display of Annotations - SuperWEB2

Blacklisted Mapping Fields

It is possible to prevent users from accessing Map View if specific fields exist in the table. This feature was previously configured in <tomcat_home>\webapps\webapi\WEB-INF\classes\dumpcodes.properties but is now configured in SuperADMIN.

Previously Configured Indumpcodes.properties
Now Configured InSuperADMIN
Full DetailsBlock Map View when Certain Fields Appear in the Table - SuperWEB2

Branding PDF, PNG and KMZ Downloads

SuperWEB2 is now supplied with separate PDF templates for graphs and maps by default (SWDownloadGraph.pdf and SWDownloadMap.pdf). You can continue to use a single template for both if you prefer, but you will need to change the configuration settings to tell SuperWEB2 where to find your template.

Both templates now support an additional form field, Database Label, which will contain the name of the database in the downloaded PDF.

In addition, the configuration properties for branding downloads from Graph View and Map View have moved.

Previously Configured In
  • faces-config.xml
  • graphViewTab.jsp
  • web.xml
Now Configured In configuration.properties
Full Details

Cells with No Contributors

Whether to show 0 or a custom string when a cell has no contributing values.

Disable Automatic Totals

Whether to automatically show totals when adding fields to a table or loading a saved table.

Previously Configured IntableView.xhtml
Now Configured Inconfiguration.properties
Full DetailsDisable Automatic Totals - SuperWEB2

This setting was moved in version 9.2.1

Field Drop-Down Labels

The field labels in the Select all at level drop-down list were previously configured in <tomcat_home>\webapps\webapi\WEB-INF\classes\schemaValueSetNodeLabels.properties but these are now defined in SuperADMIN.

Previously Configured InschemaValueSetNodeLabels.properties
Now Configured InSuperADMIN
Full DetailsConfigure Field Drop-down Labels - SuperWEB2

Field Exclusion Rules

Field exclusion rules allow you to limit the number of fields from a defined group that can be added to the table at any one time. This feature was previously configured in <tomcat_home>\webapps\webapi\WEB-INF\classes\fieldExclusionRule.properties but is now configured in SuperADMIN.

Previously Configured InfieldExclusionRule.properties
Now Configured InSuperADMIN
Full DetailsField Exclusion Rules - SuperWEB2

Footer Text

To support multiple languages in the SuperWEB2 user interface, the text in the footer is now configured in messages.properties, rather than in a layout configuration file.

Previously Configured Inconfiguration.xml
Now Configured Inmessages.properties
Full DetailsCustomise Header, Footer and Logo - SuperWEB2

Job Queue Manager

The configuration options that control whether to use Job Queue Manager, and whether to allow duplicate table names in the job queue have been moved to configuration.properties.

Previously Configured Infaces-config.xml
Now Configured In configuration.properties
Full DetailsConfigure - Job Queue Manager

Job Queue Manager

An additional step is required. A resource reference in web.xml is now commented out by default and needs to be uncommented when you set up Job Queue Manager.

Previously Configured In

This step was not required

Now Configured In web.xml
Full DetailsConfigure - Job Queue Manager

Large Table Mode

The number of cells to show in the table preview when in large table mode.

Previously Configured Infaces-config.xml
Now Configured In configuration.properties
Full DetailsConfigure Settings for Large Tables - SuperWEB2

Large Table Mode

There has been a change to the rule you need to configure if you want to change the maximum number of cells in a table. The applicableOperation attribute is now applicableOperations, and includes two additional criteria for where the rule applies (drill up and drill down). This ensures that the rule continues to apply if the user navigates up and down through a hierarchical field.

Previously Configured InRulesEngine.xml
Now Configured In RulesEngine.xml
Full DetailsConfigure Settings for Large Tables - SuperWEB2

Mandatory Fields

Configuration of mandatory fields in tables. The set of mandatory fields was previously defined in <tomcat_home>\webapps\webapi\WEB-INF\classes\mandatoryfields.json but this is now done through SuperADMIN.

Previously Configured Inmandatoryfields.json
Now Configured InSuperADMIN
Full DetailsMandatory Fields - SuperWEB2

Map View

Whether to enable Map View.

Previously Configured Inweb.xml
Now Configured In configuration.properties
Full Detailsconfiguration.properties

Mapping

The configuration for the thematic map layers and the integration with your external mapping service has moved to SuperADMIN.

Previously Configured InMappingCatalog.xml
Now Configured InSuperADMIN
Full DetailsConfigure Mapping - SuperWEB2

Maximum Tree Node Selection

The setting that controls the maximum number of levels of hierarchy to show in the Select all at level drop-down list has moved.

Previously this was configured using the maxTreeNodeSelectionLevel property in faces-config.xml. It is now set using the schemaTree.hierarchicalFieldDepthLimit property in configuration.properties.

Previously Configured Infaces-config.xml
Now Configured In configuration.properties
Full Detailsconfiguration.properties

Metadata

The base URL for SuperWEB2 metadata.

Previously Configured Infaces-config.xml
Now Configured In configuration.properties
Full DetailsMetadata - SuperWEB2

The parameters that store the URLs for the links to the online help have moved from faces-config.xml to configuration.properties.

You should not need to change these settings unless you want to replace the supplied user guide with your own customised version.

Previously Configured Infaces-config.xml
Now Configured inconfiguration.properties
Full DetailsRefer to the description of the externalLink parameters in configuration.properties.

Record View

The maximum number of cells of data that a user can download at a time from Record View.

Previously Configured Inweb-api.properties
Now Configured In configuration.properties
Full DetailsEnable or Disable Record View - SuperWEB2

SDMX Downloads

The survey date and scaling description for use in SDMX downloads have changed.

In versions 9.0 and 9.1 these are configured in SuperADMIN.

From version 9.2 onwards these are configured in database_labels.properties.

Previously Configured Indatabase-metadata.xml
Now Configured InSuperADMIN / database_labels.properties
Full DetailsBranding SDMX Downloads - SuperWEB2

Select all at level

Whether to automatically expand a field when using the Select all at level option.

Previously Configured Infaces-config.xml
Now Configured In configuration.properties
Full DetailsAutomatically Expand the Fields when Selecting All - SuperWEB2

Summation Options

Whether to show summation options.

Previously Configured Infaces-config.xml
Now Configured In configuration.properties
Full Detailsconfiguration.properties

Relative Standard Error

The default table view when Relative Standard Error is enabled.

Previously Configured Infaces-config.xml
Now Configured In configuration.properties
Full DetailsConfigure Relative Standard Error - SuperWEB2
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.