How to disable the "Download as DXP file" option in the Web Player menu

How to disable the "Download as DXP file" option in the Web Player menu

book

Article ID: KB0081384

calendar_today

Updated On:

Products Versions
Spotfire Web Player All Versions

Description

The following steps describe how to hide the "Download as DXP file" option from the Web Player menu.

Issue/Introduction

This article describes how to disable "Download as DXP file" option from the Web Player menu

Resolution

There is an option to disable the "Download as DXP file" option from the Web Player menu.

For Spotfire version 7.5 and above
----------------------------------------------
1) Go to Spotfire Server and open a command line interface to export the service configuration files from Spotfire Server, specifying the Web Player capability and the deployment area.

Export command:-  <install_dir>\tomcat\bin\config export-service-config --capability=WEB_PLAYER --deployment-area=Production

This will create a folder called "config" under the path  C:\Tibco\tss\7.x.x\tomcat\bin\


2) Turn off the 'showExportFile' option.

   >> Open file C:\Tibco\tss\7.x.x\tomcat\bin\config\root\Spotfire.Dxp.Worker.Web.config in a  text editor (Notepad/Notepad++)
   >> Search for the attribute "showExportFile" under <userInterface> section and set its value to 'false'.     
   >> Save the Spotfire.Dxp.Worker.Web.config file.


3) After editing the configuration, run import-service-config command to import the configuration files to Spotfire Server and give the configuration name.

Import command:-  <install_dir>\tomcat\bin\config import-service-config --config-name="Webplayer config"

4) Log into Spotfire Admin UI as administrator and navigate to "Nodes & Services". Edit the Web Player Service to use the updated configuration. Look for the "config-name" value that you entered while importing the service configuration and save it.

5) Run set-server-service-config command to set the configuration for a service running in Spotfire Server.

Note: After setting the configuration, you must restart the affected servers.

Example command:-  config set-server-service-config --capability=WEB_PLAYER --config-name="WebPlayer Config"
---------------------------------------------------


For Spotfire version 7.0 and earlier:
---------------------------------------------------- 
- Go to web player server. 
- Open Web.config file located at (C:\Program Files\TIBCO\Spotfire Web Player\7.0.x\webroot)
- Search for 'showExportFile' in Web.config.
- By default, the value is 'true'. Now set its value to false.
  'showExportFile=false'
- Reset IIS.
----------------------------------------------------- 

Additional Information

https://docs.tibco.com/pub/spotfire_server/7.6.0/doc/pdf/TIB_sfire_server_7.6.0_installation.pdf

Attachments

How to disable the "Download as DXP file" option in the Web Player menu get_app