Skip to main content
Skip table of contents

Customise the Interactive Tour - SuperWEB2

The interactive tour displays when users first log in to SuperWEB2. It is intended to give new users an overview of some of the key features of the product, and explain how to get started building tables:

The default content of the tour is generic information that shows how to use the sample Retail Banking dataset. You can customise the tour content so that it is tailored to your audience, for example by replacing references to the sample Retail Banking dataset with your own data.

While you can change the text and image content within each panel, it is not currently possible to add or remove panels from the tour, change the order in which they appear, or change their position on the screen.

To modify the tour content, you need to edit the file <tomcat_home>\webapps\webapi\WEB-INF\classes\common_labels.properties

There may be multiple copies of this file for different languages and locales, with names like common_labels_ar.properties and common_labels_de.properties. Each one contains the text used for different languages. Depending on which languages are in use on your deployment, you may need to make these changes in multiple versions of the file, and you may wish to translate the tour content into other languages that are in use on your deployment.

The properties file that is used will depend on the language settings in the end user's web browser, the set of supported locales defined in the faces-config.xml configuration file, and the language selected by the user from the drop-down list. See Multilingual and Localisation Support - SuperWEB2 for more information about localisation and how SuperWEB2 uses the properties files.

The text used in the tour is contained in the following properties:

guides.button.<key>

These properties define the text used in the buttons within the tour, such as the back and next buttons:

CODE
guides.button.next=Next
guides.button.previous=Back
guides.button.ok=OK
guides.button.complete=Complete
guides.button.welcome=Let&#39;s Go!
guides.tableView.<key>

These properties define the text used for all tour panels shown in Table View:

CODE
guides.tableView.expandSchemaPanel=<h3>Customise the Table</h3><p>Click here to expand the field tree.</p>
guides.tableView.fieldList=<h3>Drag and Drop to Get Started</h3><p>These are all the fields available for analysis.</p><p>Click and drag items from the list to start building your table: </p><img src="<context-path>/images/guides/Guides01.png" draggable="false" width="340" height="145"/>
guides.tableView.addToTableButtons=<h3>Build a Table</h3><p>Alternatively, select the checkboxes next to individual field items and then click one of the buttons at the top to add them to the table.</p><img src="<context-path>/images/guides/Guides02.png" draggable="false" width="340" height="150"/>
guides.tableView.retrieveData=<h3>Retrieve the Results</h3><p>Once you&#39;ve built your table, click this button to get the results.</p>
guides.tableView.tableOperation=<h3>Drag and Drop to Change the Table</h3><p>You can rearrange your table by dragging the fields around.</p><p>Or drag a field to the trashcan to remove it.</p><img src="<context-path>/images/guides/Guides04.png" draggable="false" width="310" height="140"/>
guides.tableView.addDerivation=<h3>Add Derivations</h3><p>Derivations allow you to perform calculations without leaving SuperWEB2.</p><p>These include things like adding items together, calculating percentages, creating forecasts and much more.</p><div style="white-space:nowrap"><img src="<context-path>/images/guides/Guides-Deriv-01.png" draggable="false" width="260" height="160"/><img src="<context-path>/images/guides/Guides-Deriv-02.png" draggable="false" width="260" height="160" style="margin-left:10px"/></div>
guides.tableView.chartViewNav=<h3>Visualise the Data</h3><p>Once you have built your table you can visualise it as a graph:</p><img src="<context-path>/images/guides/Guides05.png" draggable="false" width="320" height="150"/>
guides.tableView.mapViewNav=<h3>Generate a Map</h3><p>If your table contains a geographic field, you can visualise the results on a map:</p><img src="<context-path>/images/guides/Guides06.png" draggable="false" width="320" height="150"/>
guides.tableView.datasetsViewNav=<h3>Choose a New Dataset</h3><p>Click this button to go back and select another dataset.</p>
guides.tableView.tutorialMenu=<h3>Take the Tour Again</h3><p>To see this help again at any time, select the <b>Tour</b> option from the menu.</p>
guides.datasets.<key>

These properties define the text used for all tour panels shown in the dataset catalogue screen:

CODE
guides.datasets.welcome=<p class="centerImg"><img src="<context-path>/images/guides/Tour.png" class="welcomeIcon" width="70" height="70"/></p><h2>Take the SuperWEB2 Tour</h2><p>Self-service analytics made easy.</p><p>As a new user, we&#39;d like to take a few moments to guide you through the basics.</p><p><i>This tour can be accessed at any time from the menu at the top right.</i></p>
guides.datasets.databases=<h3>Datasets</h3><p>These are all the datasets available to you. Select one to see more information.</p><p>Double-clicking will open a dataset but we\'ve got a few more things to show you first.</p>
guides.datasets.tables=<h3>Saved Tables</h3><p>These are saved queries/tables for the selected dataset.</p>
guides.datasets.info=<h3>Learn More</h3><p>This area shows more information about the selected dataset.</p>
guides.datasets.open=<h3>Start Exploring</h3><p>Double-click a dataset or table to open it and continue the tour.</p>

Formatting Text

When providing content for the tour, you can use HTML tags and CSS styles to layout your content. For example, use heading tags to identify the title of each panel (the default text uses <h3> for all headings), and <p> tags for the body contents of each panel. If you wish to define additional CSS styles, you can do so by adding them to <tomcat_home>\webapps\webapi\tour\tour.css.

Providing your Own Screenshots

The screenshots that are included in the default tour content show the sample Retail Banking dataset. You will probably want to replace these with your own images showing one of your own datasets.

All the default image files are located in <tomcat_home>\webapps\webapi\images\guides.

If you are providing your own images you can either save them to this directory or to another location that is accessible to the web browser. Use <context-path> in your HTML <img> tags to reference the <tomcat_home>\webapps\webapi directory root. For example, the following tour content displays an image file located at <tomcat_home>\webapps\webapi\images\guides\Guides01.png:

TEXT
guides.tableView.fieldList=<h3>Drag and Drop to Get Started</h3><p>These are all the fields available for analysis.</p><p>Click and drag items from the list to start building your table: </p><img src="<context-path>/images/guides/Guides01.png" draggable="false" width="331" height="145"/>
If you are using your own images, make sure you adjust the width and height properties of the img tag to match the width and height of your images.

Escape the ' Character

If your text contains any instances of the single quote character, you must either replace this with the HTML entity code, &#39;, or escape it using a backslash: \'. For example:

CODE
guides.datasets.welcome=<p class="centerImg"><img src="<context-path>/images/guides/Tour.png" class="welcomeIcon" width="70" height="70"/></p><h2>Take the SuperWEB2 Tour</h2><p>Self-service analytics made easy.</p><p>As a new user, we&#39;d like to take a few moments to guide you through the basics.</p><p><i>This tour can be accessed at any time from the menu at the top right.</i></p>
guides.datasets.databases=<h3>Datasets</h3><p>These are all the datasets available to you. Select one to see more information.</p><p>Double-clicking will open a dataset but we\'ve got a few more things to show you first.</p>
JavaScript errors detected

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

If this problem persists, please contact our support.