Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Valid as of Datafari 5.1

The documentation below is valid starting from Datafari 5.1 onwards

The Help and Privacy Policy pages are accessible in the built-in UI and through the Datafari REST API (that is used by DatafariUI). Their default content can be changed, and in the case of the REST API access, i18n can be handled. This documentation gives information about the files to edit or create to change their content.

Built-in or Legacy UI Content (default content for the REST API)

The files DATAFARI_HOME/tomcat/webapps/Datafari/resources/helpAssets/helpContent.jsp and DATAFARI_HOME/tomcat/webapps/Datafari/resources/privacyPolicyAssets/privacyPolicyContent.jsp are the default content for the help page and the privacy policy page respectively.

They are the only file used to present the content of these pages in the built-in ajaxfrancelabs (or legacy) datafari UI.

In the case of the REST API (used by the datafariUI React app), they are used if the file corresponding to the required locale does not exist.

...

Code Block
DATAFARI_WEBAPP_URL/rest/v1.0/help/{locale}
DATAFARI_WEBAPP_URL/rest/v1.0/privacy/{locale}

Both those API endpoints allows (and even requires) require to specify the preferred locale in which the result must be given.

...