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.
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.
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. -----------------------------------------------------