Configuring web content
The system supports serving web content including HTML, JavaScript, and images from the /configs/<config_name>/configuration/web-dir-extensions
directory. Any referenced files must also be in the directory.
The web content that you can configure includes:
- A prompt to users that they must accept before they can connect to i2 Analyze.
- To configure the contents of this prompt, provide or update the
privacyagreement.html
file in theweb-dir-extensions
directory. - To enable the prompt, add
EnablePrivacyPrompt=true
to theanalyze-settings.properties
file.
For more information about the contents of the prompt and any associated i2 Analyze settings, see Configuring a privacy prompt.
- To configure the contents of this prompt, provide or update the
- A welcome page that introduces your deployment of i2 Analyze to users when they log in from Analyst's Notebook.
- To configure the contents of this page, provide or update the
welcomepage.html
file in theweb-dir-extensions
directory. - To enable the welcome page, add
EnableWelcomePage=true
to theanalyze-settings.properties
file.
For more information about the contents of the welcome page and any associated i2 Analyze settings, see Displaying a welcome page in Analyst's Notebook.
- To configure the contents of this page, provide or update the
Note: Example privacyagreement.html
and welcomepage.html
files are provided in the web-dir-extensions
directory.
Updating the deployment with new web content
After you change the contents of the web-dir-extensions
directory, re-deploy the config:
deploy
If you have multiple configs, specify the config name with -c <config-name>
.
Your deployment is running with the updated web files.