How to disable the sharing to Twitter option in Web Player ?

How to disable the sharing to Twitter option in Web Player ?

book

Article ID: KB0079060

calendar_today

Updated On:

Products Versions
Spotfire Web Player 7.5 and higher

Description

Spotfire has the option of sharing the analysis file to Twitter by using the "Share to Twitter" option from Web Player. The following process explains the steps needed to disable this feature. 

Issue/Introduction

How to disable the sharing to Twitter option in Web Player ?

Environment

All supported environments

Resolution

Here are the steps:

1). Run the export-service-config command. 

Example command:
config export-service-config --capability=WEB_PLAYER --deployment-area=Production --force --tool-password="xxxxx"

This creates a folder called "config" under the path  [Spotfire Server installation folder]\tomcat\bin

2).  Turn off the sharing to Twitter flag.

   a). Open file [Spotfire Server installation folder]\tomcat\bin\config\root\Spotfire.Dxp.Worker.Web.config in a text editor (Example: Notepad).
   b). Search for the attribute "showShareWithTwitter" and set its value to false.
      
      <analysis showToolTip="true" showClose="true" showToolBar="true" showAnalysisInformationTool="true" showExportFile="true" showExportVisualization="true" showUndoRedo="true" showDodPanel="" showFilterPanel="" showPageNavigation="true" showStatusBar="true" showPrint="true" allowRelativeLinks="false" showShareWithTwitter="false" showCollaboration="true" />
      
  c). Save the Spotfire.Dxp.Worker.Web.config file.

User-added image

3). Run the import-service-config command. 

Example command:

config import-service-config --config-name="WebPlayerConfiguration" --tool-password="xxxxxxx"

Output: Imports the  service configuration "WebPlayerConfiguration"

4). Log into Spotfire Admin UI with administrator credentials 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.

Additional Information

Refer to the Spotfire Server Installation and Configuration manual for more information about these parameters.