Adding custom headers to Spotfire UIs
You can use your own header in the Spotfire UIs. If you include the custom header in the cobranding package, and add the cobranding package to the default deployment area, the header will be displayed in the Spotfire Server UIs and the web player UIs. No restart or update is required, but you might need to refresh the web page.
About this task
The procedure below describes how to add a custom header to the cobranding package. Follow the steps, and then deploy the cobranding package to enable the custom headers.
Before you begin
Procedure
Various header display options
If you want to display the custom header only for a certain UI, or if
you want different web players to use different custom headers, the attribute
source
in the
Spotfire.Dxp.Worker.Web.config file is used. The
attribute can be set to any of the values
default
,
local
, and
none
.
- The custom header is
visible in the Server web administration pages as well as all web players. In
this option, the value of the
source
attribute isdefault
in the Spotfire.Dxp.Worker.Web.config file for each of the web players. (The default value of thesource
attribute isdefault
.) - To use the custom header
is only in the Server web administration pages:
- Deploy the cobranding package containing the custom header in the default deployment area.
- For each web player,
make sure
source
is set tonone
in its Spotfire.Dxp.Worker.Web.config file.
- To use the custom header
only in all of the web client UIs:
- Check that no cobranding package is deployed in the default deployment area. (If a cobranding package is deployed in the default deployment area, the header will automatically be visible in the server UI.)
- Make sure that the cobranding package containing the custom header is deployed in a non-default deployment area.
- For each web player,
make sure
source
is set tolocal
in itsSpotfire.Dxp.Worker.Web.config
file.Note: Any web player that is deployed in the default deployment area will not get a custom header.You can, if you want, make the custom header invisible in a separate web player. Then simply set
source
tonone
in itsSpotfire.Dxp.Worker.Web.config
file.
Note: It is possible to use different custom headers in different web players by adding cobranding packages containing different headers to different deployment areas. Then setsource
tolocal
in the Spotfire.Dxp.Worker.Web.config file for each of the web players.
- The WebHeader template
You can copy and edit this WebHeader.htm template to create a custom header for the Spotfire Server web UI.