Products | Versions |
---|---|
Spotfire Web Player | 7.5 and higher |
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.
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.
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.