Spotfire Server can be configured to display messages to end users in the login dialog, such as news of upcoming scheduled maintenance. One option is to specify a path to an
rss.xml file that is located on a
Spotfire Server; in this case the XML file is updated manually. The other option is to specify the URL to an external RSS feed.
Procedure
-
If you are using an
rss.xml file that you will update manually, copy the file to the following directory:
<server install dir>\tomcat\webapps\spotfire.
-
Open a command-line interface and export the active configuration (the
configuration.xml file) by using the
export-config command. (For details on using the Spotfire command line, see
Executing commands on the command line.)
-
On the command line, use the
config-login-dialog command to set up the feed.
Note: Make sure that the specified RSS feed complies with the standard RSS 2.0 specification, and that the source is available to the end users' clients.
Note: To enable all users see the news in the login dialog, set the display behavior setting (-s value
) to "always". The login dialog will be shown to all users, even if they opt to save their login credentials for automatic login.
Example using a relative URL on the
Spotfire Server:
config config-login-dialog -s always -R "/spotfire/rss.xml"
-
Import the configuration file back to the Spotfire database by using the
import-config command.
-
Restart the
Spotfire Server service.