Disclaimer for External Links
When using URL attributes in table views and map views (in the feature information) of a workbook, users are usually redirected to an external website when they click on the associated link. Cadenza can display a disclaimer dialog to inform users that external content will be opened in this case. This dialog has to be configured. Trusted URLs can be specifically excluded (positive list). By default, no disclaimer dialog is displayed.
|
The disclaimer dialog only affects URLs of URL attributes. Static links or calls to external content defined in the Management Center are not affected. |
Adjusting the Configuration
To display a disclaimer dialog, disclaimerForExternalLinks in the workbook settings must be configured according to the following example:
-
XML
-
YAML
-
Environment Variables
workbook-config.xml configuration file<workbookConfiguration>
...
<disclaimerForExternalLinks>
<title>Open external link?</title>
<message>We are not responsible for the content of external sources.</message>
<allowedLinks> <!-- by prefix match -->
<url>https://example.com:4223/somewhere/else</url>
</allowedLinks>
</disclaimerForExternalLinks>
</workbookConfiguration>
myConfig.yamlcadenzaconfig:
...
workbook:
...
disclaimerForExternalLinks:
title: Open external link?
message: We are not responsible for the content of external sources.
allowedLinks:
- https://example.com:4223/somewhere/else
...