SuperWEB2 can be configured to display 'footnote' text at the bottom of each table. For example:
The footnote is intended to provide information about the source of the data in the table, and can be set to show a different string for each dataset.
To define the text string, you need to edit the file database_labels.properties, which is located in <tomcat_home>\webapps\webapi\WEB-INF\classes\
The data source text is defined in this file using two lines: one line defines the text string itself, and the other assigns that text string to a particular dataset.
In this example:
- For tables created using the datasets with the IDs
people, SuperWEB2 will display the text "Dataset: Space-Time Research synthetic data".
- For tables created using the dataset with the ID
census, SuperWEB2 will display the text "Dataset: 2001 National Census".
If the text you want to show for your dataset is not already listed in this file:
Add the datasource text as follows (replace
<datasource_id>with an ID of your choosing to identify this text, and replace
<text>with the text string itself):
Then map your dataset to this text by adding a line similar to the following (replace
<dataset_id>with the ID of the dataset, and
<datasource_id>with the ID of the data source text string you want to use):
- Restart Tomcat (or the SuperWEB2 Service if you use SuperSTAR Suite).