Tibco Sportfire Administrator
Tibco Sportfire Administrator
User's Guide
Software Release 10.10 LTS (10.10.1)
ii
Contents
Important Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Job execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Installing the Client Job Sender. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Authentication options for the Client Job Sender. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Configuring the Client Job Sender. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Configuring the Client Job Sender for OAuth2 authentication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Running the Client Job Sender. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Scheduling the Client Job Sender. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Client Job Sender monitoring. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Important Information
SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED
TIBCO SOFTWARE IS SOLELY TO ENABLE THE FUNCTIONALITY (OR PROVIDE LIMITED ADD-ON FUNCTIONALITY)
OF THE LICENSED TIBCO SOFTWARE. THE EMBEDDED OR BUNDLED SOFTWARE IS NOT LICENSED TO BE USED OR
ACCESSED BY ANY OTHER TIBCO SOFTWARE OR FOR ANY OTHER PURPOSE.
USE OF TIBCO SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS AND CONDITIONS OF A LICENSE
AGREEMENT FOUND IN EITHER A SEPARATELY EXECUTED SOFTWARE LICENSE AGREEMENT, OR, IF THERE IS NO
SUCH SEPARATE AGREEMENT, THE CLICKWRAP END USER LICENSE AGREEMENT WHICH IS DISPLAYED DURING
DOWNLOAD OR INSTALLATION OF THE SOFTWARE (AND WHICH IS DUPLICATED IN THE LICENSE FILE) OR IF
THERE IS NO SUCH SOFTWARE LICENSE AGREEMENT OR CLICKWRAP END USER LICENSE AGREEMENT, THE
LICENSE(S) LOCATED IN THE "LICENSE" FILE(S) OF THE SOFTWARE. USE OF THIS DOCUMENT IS SUBJECT TO THOSE
TERMS AND CONDITIONS, AND YOUR USE HEREOF SHALL CONSTITUTE ACCEPTANCE OF AND AN AGREEMENT TO
BE BOUND BY THE SAME.
ANY SOFTWARE ITEM IDENTIFIED AS THIRD PARTY LIBRARY IS AVAILABLE UNDER SEPARATE SOFTWARE LICENSE
TERMS AND IS NOT PART OF A TIBCO PRODUCT. AS SUCH, THESE SOFTWARE ITEMS ARE NOT COVERED BY THE
TERMS OF YOUR AGREEMENT WITH TIBCO, INCLUDING ANY TERMS CONCERNING SUPPORT, MAINTENANCE,
WARRANTIES, AND INDEMNITIES. DOWNLOAD AND USE OF THESE ITEMS IS SOLELY AT YOUR OWN DISCRETION
AND SUBJECT TO THE LICENSE TERMS APPLICABLE TO THEM. BY PROCEEDING TO DOWNLOAD, INSTALL OR USE
ANY OF THESE ITEMS, YOU ACKNOWLEDGE THE FOREGOING DISTINCTIONS BETWEEN THESE ITEMS AND TIBCO
PRODUCTS.
This document is subject to U.S. and international copyright laws and treaties. No part of this document may be reproduced in
any form without the written authorization of TIBCO Software Inc.
TIBCO, the TIBCO logo, the TIBCO O logo, TIBCO Spotfire, TIBCO Spotfire Analyst, TIBCO Spotfire Automation Services,
TIBCO Spotfire Server, TIBCO Spotfire Web Player, TIBCO Enterprise Runtime for R, TIBCO Enterprise Runtime for R - Server
Edition, TERR, TERR Server Edition, and TIBCO Spotfire Statistics Services are either registered trademarks or trademarks of
TIBCO Software Inc. in the United States and/or other countries.
All other product and company names and marks mentioned in this document are the property of their respective owners and
are mentioned for identification purposes only.
This software may be available on multiple operating systems. However, not all operating system platforms for a specific
software version are released at the same time. Please see the readme.txt file for the availability of this software version on a
specific operating system platform.
THIS DOCUMENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT.
THIS DOCUMENT COULD INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS. CHANGES ARE
PERIODICALLY ADDED TO THE INFORMATION HEREIN; THESE CHANGES WILL BE INCORPORATED IN NEW
EDITIONS OF THIS DOCUMENT. TIBCO SOFTWARE INC. MAY MAKE IMPROVEMENTS AND/OR CHANGES IN THE
PRODUCT(S) AND/OR THE PROGRAM(S) DESCRIBED IN THIS DOCUMENT AT ANY TIME.
THE CONTENTS OF THIS DOCUMENT MAY BE MODIFIED AND/OR QUALIFIED, DIRECTLY OR INDIRECTLY, BY OTHER
DOCUMENTATION WHICH ACCOMPANIES THIS SOFTWARE, INCLUDING BUT NOT LIMITED TO ANY RELEASE NOTES
AND "READ ME" FILES.
This and other products of TIBCO Software Inc. may be covered by registered patents. Please refer to TIBCO's Virtual Patent
Marking document (https://www.tibco.com/patents) for details.
Documentation for TIBCO products is available on the TIBCO Product Documentation website, mainly
in HTML and PDF formats.
The TIBCO Product Documentation website is updated frequently and is more current than any
other documentation included with the product. To access the latest documentation, visit https://
docs.tibco.com.
Documentation for TIBCO Spotfire Automation Services is available on the Spotfire Server Product
Documentation page.
The following documents for this product can be found on the TIBCO Documentation site:
Some release versions of TIBCO Spotfire products are designated as long-term support (LTS) versions.
LTS versions are typically supported for up to 36 months from release. Defect corrections will typically
be delivered in a new release version and as hotfixes or service packs to one or more LTS versions. See
also https://docs.tibco.com/pub/spotfire/general/LTS/spotfire_LTS_releases.htm.
For information about the system requirements for Spotfire products, visit http://spotfi.re/sr.
TIBCO Community is the official channel for TIBCO customers, partners, and employee subject matter
experts to share and access their collective experience. TIBCO Community offers access to Q&A forums,
product wikis, and best practices. It also offers access to extensions, adapters, solution accelerators, and
tools that extend and enable customers to gain full value from TIBCO products. In addition, users can
submit and vote on feature requests from within the TIBCO Ideas Portal. For a free registration, go to
https://community.tibco.com.
Overview
TIBCO Spotfire® Automation Services is a web service for automatically executing multi-step jobs
within your TIBCO Spotfire® environment. You can, for example, use Spotfire® Automation Services to
deliver an analysis file to specific people, in a particular format, at specified times.
The Automation Services feature includes the following components:
● The Spotfire Automation Services Job Builder, which comes with a set of pre-defined tasks for
immediate job creation. The Job Builder is accessed from TIBCO Spotfire® Analyst. No installation
is required, but all users must belong to the group Automation Services Users, and have the
Automation Services Job Builder Tool license enabled.
● An API for developing custom tasks for the Job Builder.
● The Automation Services area of the administration interface for scheduling and executing jobs. For
more information, see "Automation Services job scheduling" in the Spotfire Server help.
● The Client Job Sender command-line tool for executing jobs. To install this tool, you download and
extract the Spotfire Automation Services files from the TIBCO eDelivery website, and copy the files
to a computer in your Spotfire implementation. For details, see Installing the Client Job Sender.
When using the Client Job Sender, you can set the execution schedule by using Windows
Task Scheduler.
A Spotfire Automation Services job file is an XML file that is created in the Job Builder. It contains the
set of tasks that are performed each time that the job runs, along with any relevant settings for each
task.
Prerequisites
● To execute Spotfire Automation Services jobs on the server using the Job Builder or the Client Job
Sender, a user must be a member of the group Automation Services Users.
● To run the Job Builder, a user must also have the Automation Services Job Builder Tool license
enabled.
● Analysis files that are used in automation jobs must be in the Spotfire library.
For information on group membership, see the Spotfire® Server help. For information on licenses, see
the help for Administration Manager in Spotfire® Analyst.
Procedure
Any job that contains tasks involving an analysis file must begin with the Open Analysis
from Library task.
4. To the right of the task list, in the Settings pane, adjust the task settings as necessary.
5. Repeat steps 3 and 4 until you have completed the task list and settings. For details on the available
tasks and settings, see Job Builder tasks.
6. Save the job file to the Spotfire library, or to a location of your choice.
7. Optional: If the job was saved to the library, you will see a dialog where you can click on a link and
go to the server to create or edit a schedule for the job.
For more information about schedules, see the Spotfire® Server help.
1. From Spotfire Analyst, open the Spotfire Automation Services Job Builder.
2. Open the job file to which you want to add a field.
3. In the Automation Services Job Builder dialog, place the cursor where you want to insert a field,
either in the file name part of the destination path or in another text area.
4. Click Tools > Insert Field, and then select the field you want to add.
1. In the Automation Services Job Builder, in the left pane select the task that you want to duplicate.
2. Click Duplicate.
The new task appears directly below the original task in the task list.
3. Edit the new task as needed and move it to its correct spot in the task list.
Apply Bookmark
You can apply bookmarks to your job files to highlight certain aspects of a data set.
For example, you can use bookmarks if you have an analysis file with sales data for a department store
and you want the manager of each department to receive a weekly update on their department.
You can create one job file for each department in the store, basing all the job files on the same analysis.
If you then apply different bookmarks in each job file, each manager can receive a customized view of
the analysis when the jobs are run.
Option Description
Bookmark Specifies the bookmark to apply. All the bookmarks in the analysis are listed in
the Bookmark list.
● export-library-content
● import-library-content
Details about these commands are available in the "Command-line reference" section of the Spotfire
Server and Environment Installation and Administration help.
If you decide to use these deprecated tasks in Spotfire Automation Services anyway, these are the
available settings:
Option Description
Export from library folder Specifies the location and name of the folder to export from the library.
To export a folder and its contents to file you must have Browse +
Access permissions for the folders you want to export. You must also
be a member of the Library Administrator group.
Browse... Opens the Browse Library dialog where you can locate the library folder from
which you want to export items. Only available if you are connected to the
library.
Export to file Specifies a name for the file that will be created. The file will be saved as a zip
archive on the server.
To include all the exported items, several zip archives may be created
from one single export. The middle part of the file name will reflect
this: fileName.part0.zip, fileName.part1.zip, fileName.part2.zip, and
so on.
Export items of type Specify the type of items you want to export if you want to limit the export to
only a certain type.
Include permissions Select whether or not to include the selected library folder permissions.
Option Description
Import from file Specifies the name of the file to import. The file must be a zip archive
containing appropriate library content.
To import a folder and its contents to file you must have Browse +
Access + Modify permissions for the destination folder. You must
also be a member of the Library Administrator group.
Import to library folder Specifies the location and the name of the folder in the library to which you
want to import the library items.
Browse... Opens the Browse Library dialog where you can select the folder in the library
to which you want to import. Only available if you are connected to the library.
Option Description
Import items of type Specify the type of items you want to import if you want to limit the import to
only a certain type of items.
Include permissions Select this check box if you want to include permissions, if such are stored in
the file. If you do not include any permissions, the imported items will inherit
the permissions of the destination folder.
Ignore empty folders Select this check box if you do not want to import any empty library folders.
When you migrate library items from one system to another, it is likely that you will have to remap the
connection strings and/or passwords of the data sources when you import them to the new system.
Option Description
X.509 certificate subject Select a valid X.509 certificate. This is used to protect the security of the
passwords used to connect to data sources when exporting and importing
them. The valid certificates that are installed locally on your computer are
listed in the drop-down list.
The selected certificate must also be installed on the node that runs
the Automation Services jobs.
Data sources library folder Defines the location of the library folder that contains the data sources to be
repmapped.
Browse Opens the Browse Library dialog where you can select a library folder. Only
available if you are connected to the library.
If you have not specified a Data sources library folder, you must
include the entire path for each data source that you add.
Add Opens a dialog where you can specify a new data source. See below
Edit Opens a dialog where you can edit the selected data source. See below.
Import Opens a dialog where you can select a previously exported file. All the data
sources that are included in the file will be added to the list.
Connection string Specifies the current connection string for the selected data source. To change
it, enter a new connection string in the text field.
Reset Resets the modified connection string to the one that was originally set for the
selected data source.
Change Opens a dialog where you can enter a new password for the selected data
source.
Option Description
Reset Resets the modified password to the one that was originally set for the data
source.
Option Description
In library folder Displays the location and name of the library folder that contains the data
source.
Option Description
Data Table Select the data table that you want to export from the analysis file.
Library Path Specify the library path and file name for saving the data table.
If the data table already has specified keywords, they are displayed
here.
Option Description
Export data from Select a tabular visualization or a data table to export data from.
Export data as Select the file format the data should be saved as.
Option Description
The file will be saved to the node executing the job. Therefore
you must make sure that the folder you select as destination
folder actually exists on that computer, and that you have writing
permissions for the selected folder.
Export Image
You can export an image from an analysis file to a destination of your choice.
If you want to make sure that the image is saved as a new data table each time that the job is executed,
you can add the date to the file name; for more information, see Inserting a field in a Spotfire
Automation Services job.
Option Description
Destination Path Specify the location (on the node running Automation Services) and file name
of the exported image.
The file will be saved to the node executing the job. Therefore
you must make sure that the folder you select as destination
folder actually exists on that computer, and that you have writing
permissions for the selected folder.
Hide preview images in list Select to disable rendering of images in visualization list. This significantly
improves response time if there are many available visualizations in the
analysis.
Option Description
Width Specify the width, in pixels, that the exported image should have.
Height Specify the height, in pixels, that the exported image should have.
Maintain aspect ratio Select this check box to make sure that the aspect ratio of the exported image is
the same as the current ratio of the visualization in the analysis.
Option Description
Destination path Specify the location (on the computer running Spotfire Automation Services)
and file name of the exported PDF file.
The file will be saved to the node executing the job. Therefore
you must make sure that the folder you select as destination
folder actually exists on that computer, and that you have writing
permissions on the selected folder.
Report name Select the report to export. All prepared reports of the analysis are available in
the drop-down list.
Export to PDF
The task Export to PDF has been deprecated in Spotfire Automation Services.
Instead of Export to PDF, use the task Export Report to PDF.
If you decide to use the deprecated task in Spotfire Automation Services anyway, see the following
information.
Export to PDF
You can export parts of an analysis to a PDF file, and save the file to a destination of your choice on the
computer running Spotfire Automation Services.You can choose between two types of PDF export:
General tab
Option Description
Destination Path Specify the location (on the computer running Spotfire Automation Services)
and file name of the exported PDF file.
The file will be saved to the node executing the job. Therefore
you must make sure that the folder you select as destination
folder actually exists on that computer, and that you have writing
permissions on the selected folder.
Export what Define which parts of the analysis to export. For more information about
what the options in this drop-down list mean for the different export types,
see the following topics in the Spotfire Analyst help: "Exporting to PDF" and
"Exporting Bookmarks to PDF".
If you export bookmarks, then the PDF file will contain one set of
PDF pages for each bookmark. For example, if you export three
bookmarks and select All pages, then you will get a PDF document
containing all the pages in the analysis times three (that is, one set
of all analysis pages for each of the bookmarks). The descriptions of
the drop-down list options below are based on regular export where
each page or visualization appears only once in the resulting PDF.
Active visualization Exports the active visualization in the analysis (or in the bookmark, for
bookmark export) to a single page in a PDF document.
Active page Exports all the visualizations on the active page in the analysis (or in the
bookmark, for bookmark export) to a single page in a PDF document.
Active page (new page for each Exports all the visualizations on the active page in the analysis (or in the
visualization) bookmark, for bookmark export) to one or more pages in a PDF document.
Each visualization on the active page will be exported to a new page in the PDF
document.
All pages Exports all the visualizations on all the pages in the analysis. Each page will be
exported to a new page in the PDF document.
All pages (new page for each Exports all the visualizations on all the pages in the analysis. Each visualization
visualization) in the analysis will be exported to a new page in the PDF document.
Use entire page When exporting to PDF from Automation Services, this option is not applicable
because the exported parts of the analysis do not have any proportions when
the user interface is not available. Therefore, the result will always be that the
exported parts of the analysis are redrawn to fill the entire space of the selected
page layout.
Option Description
Include
Visualization title Indicate whether you want the page titles to be included in the export.
Filter settings Indicate whether you want the filter settings to be included in the export as
textual information. Only the values of the modified filters will be listed.
Page title Indicate whether you want the page titles to be included in the export.
Trellis panels and table rows not visible Indicate whether to include non-visible data in trellis panels and tables in
on screen the export. If a table contains too many rows to fit on one page in the PDF
document, it will be extended to the following pages. Similarly, a trellised
visualization with many panels will be extended to the following pages.
Not available if you select to export Active page or All pages. You
must select an option where each visualization is exported to a new
page.
Page layout Define the size and orientation of the pages in the resulting PDF document.
Advanced tab
Option Description
Graphics settings
Items to export Lists the parts of the analysis to include in the export. The items in the list may
refer to pages, visualizations, or the Details-on-Demand, depending on the
selection that you made under Export what on the General tab.
Graphics mode Here you can change which graphics mode each item will be exported as:
Vector or Raster. This can be useful if you must keep the file size down.
Using raster graphics does not always result in a smaller file size, but
if the file becomes very large when exporting as vector graphics, you
can try exporting as raster graphics instead.
Option Description
All Vector Graphic Click this button to set all the items in the list to be exported using vector
graphics.
All Raster Graphic Click this button to set all the items in the list to raster graphics.
Raster graphics quality Here you can specify the quality of the export for parts of the analysis that
will be exported as raster graphics. This can be useful if you need to keep the
file size down. You can specify a value from 1.0 to 5.0, where 1.0 is the lowest
quality and will result in a smaller file size.
Using raster graphics will always result in lower quality than vector
graphics, even if you set the raster graphics quality to the highest
possible value. However, using raster graphics does not always result
in a smaller file size.
Header options
Enable page header Select this check box if you want to include a header on each page in the
resulting PDF document.
Header height Enter a number between 10 and 100 to adjust the height of the header.
Left, Center, Right Make a selection from each drop-down list to specify the position of the header
content, and what to include in the header. The following options are available:
● Custom text (enter the text of your choice in the field below the drop-down
list)
● Page number
● Current date
● Current date and time
Font Settings Specify font, style, and size for the header. The current font settings are
displayed to the right of the button
Footer options
Enable page footer Select this check box if you want to include a footer on each page in the
resulting PDF document.
Footer height Enter a number between 10 and 100 to adjust the height of the footer.
Left, Center, Right Make a selection from each drop-down list to specify the position of the footer
content, and what to include in the footer. The following options are available:
● Custom text (enter the text of your choice in the field below the drop-down
list)
● Page number
● Current date
● Current date and time
Font Settings Specify font, style, and size for the footer. The current font settings are
displayed to the right of the button.
Bookmarks tab
The Bookmarks tab is used only when you want to export different views of the analysis, which are
defined by selected bookmarks. When you select this option, each of the bookmarks is automatically
applied in turn, and the resulting PDF file contains one version of the analysis (or parts of it) for each
bookmark. See "Exporting Bookmarks to PDF" in the Spotfire Analyst online help for more information
about the result of exporting based on bookmarks.
Option Description
Export selected views based on bookmarks Select this check box to enable export to a PDF file based on
bookmarks. Choose which parts of the analysis to export on
the General tab.
Option Description
Path Indicate the location and file name of the file to open. Click Browse to navigate to the file, or use
the Set to Current option.
Set to Current Click this button to set the path to the analysis that is currently open in Spotfire.
Option Description
If the Open Analysis from Library task is preceded by the Set Data Source Credentials
task or the Set Credentials for External Connection task, it is not possible to load the file
using this button. It is therefore not possible to edit any following tasks, for example
the Export Image task, either. To be able to do this, open the file from the File menu in
Spotfire Analyst before proceeding with setting up additional tasks.
Configuration block Optionally, use this advanced feature to provide a configuration block to specify the initial state of
the analysis. A configuration block is a piece of code that defines, for example, which page is active
in the analysis when the analysis is opened, or applies a specific bookmark when the analysis.
Example:
SetPage(pageTitle = "Overview");
ApplyBookmark(bookmarkName = "UserRegionOnly");
For an information link, you can specify parameters for the information link to filter by. For example,
you can set the task to show only the column values that are greater than a specified value, or the
values between two specified values.
Option Description
Data table to replace Specify the data table that you want to replace with an
information link.
SBDF library path Indicates the path to the selected SBDF file in the library.
Click on the button next to the field to browse for a file.
Option Description
Information link Indicates the path to the selected information link. Click on
the button next to the field to browse for an information link.
Information link parameters Lists the columns with parameters of the selected
information link.
Option Description
Column name Displays the name of the column for which you are currently
editing parameters.
Expression Set the expression that indicates how the column value
should be compared to the values set in this dialog, and thus
how the data is filtered.
List of values List the values by which you want to filter. The values that
you enter here will replace the %Value% in the selected
expression above.
Option Description
Save as Specify the location and name of the file that will be saved.
Set to Current Click to use (in the Save as field) the path of the currently
open document.
Embed data in analysis Select this check box to embed the data in the analysis.
Remove any previously existing bookmarks Select this check box to delete any previously existing
bookmarks when the analysis is saved to the library. Note
that if you select this check box, bookmarks that have been
added by other users will be removed
Keywords (not shown in image) Optionally, type one or more keywords specific to the
contents of the analysis.
Send Email
A job can be set up to send an email to a number of recipients when it is executed.
You can write a message with included images, attach an analysis or a file, and add links to the web
clients and library.
Option Description
To Type the email addresses to which the email should be sent. The separator to
use depends on the regional settings of your computer.
Cc Type the email addresses to which a copy of the email should be sent.
Bcc Type the email addresses to which a hidden copy of the email should be sent.
From Type the email address from which the email should be sent. If the From-
address for a job is unspecified, then the email address from the configuration
file will be used.
Select Click to open a dialog where you can select recipients from your LDAP
directory. This only works if you have an LDAP directory.
Option Description
Add library link Select the check box to include a link to the analysis in the library.
Optionally, enter text for the link in the text box, such as "Click to open analysis
from the library." If you leave the field blank, the link is shown as the actual
path to the library.
Add Web Player link Select this check box to include a link to the analysis in the web client.
Optionally, enter text for the link in the text field. If you leave the field blank,
the link is shown as the actual path.
Attach analysis (with embedded data) Select this check box to attach the analysis to the email.
Attached visualization images You can include images from visualizations in the email. The images will be
shown in the message body. The data will be embedded in the email. See the
Add Visualization dialog below this table.
Attached files You can include files in the email, for example a PDF created by the Export
Report to PDF task.
Add... Opens the Select File Attachment dialog, where you select the file to attach,
specify the name of the attachment, and select if the file should be deleted after
the email has been sent.
Only select to delete the file if you are absolutely sure that the file
should be deleted after the email has been sent. It is recommended
to only delete temporary files, such as PDF files created by the
Export Report to PDF task for the sole purpose of being sent
out in an email. To avoid deleting files that should be saved,
files can only be deleted if they have a create or modification
time in the last 30 minutes. The time can be changed in the
allowDeleteOfFilesModifiedLastMinutes setting in the
Spotfire.Dxp.Worker.Automation.config file.
Option Description
Visualization Select the visualization image that you want to appear in the email.
Hide preview images in list If the check box is selected, the list of visualizations directly above the check
box does not display previews for each visualization. This reduces download
time.
Width You can change the height and width of the image. Select the Maintain aspect
ratio check box to keep the image's original proportions.
Height
Add visualization title as text above the If the check box is selected, the title of the visualization, followed by a colon,
image appears just above the visualization. This is the default.
Hide visualization title from the image If the Show title bar check box is selected in the visualization Properties dialog,
select this check box to prevent the visualization title from appearing in the
upper-left corner of the image.
This is the visualization title appearing within the image:
Add extra line breaks above image Select this check box to add space above the image in the email message.
When you add the Send Email task to a Spotfire Automation Services job, you must also manually
add the SMTP settings to the Spotfire.Dxp.Worker.Automation.config file and assign the new
configuration to a service running Automation Services.
Prerequisites
1. On the computer running Spotfire Server, open a command line as an administrator and change
the directory to the location of the config.bat file (config.sh on Linux). The default location is
<server installation directory>\tomcat\spotfire-bin.
2. On the command line, export the service configuration that you want to modify from Spotfire
Server by using the export-service-config command. Specify the service's capability and the
deployment area, and optionally the configuration name.
By default, all new services receive a "Default" configuration. The properties of the default
configuration cannot be changed, but you can edit the configuration files and save the
resulting configuration with a new name.
If you are editing a service configuration that has been applied to an existing service, you
must verify the name of the active service configuration before you export it. If the name of
the active configuration is not "Default", you must specify the name in the export command.
To find the name of the active service configuration, see "Viewing the name of the active
service configuration" in the Spotfire Server help.
Example for exporting the "Default" Spotfire Automation Services configuration that is in the
Production deployment area:
The configuration files are exported. By default, these files are saved to the <server installation
directory>\tomcat\spotfire-bin\config\root directory.
3. Open the Spotfire.Dxp.Worker.Automation.config file in a text editor or XML editor, and locate
the following section:
<preferences>
<!-- SMTP Host for Email Notification -->
<add name="Spotfire.Automation.SendMail.SMTPHost" value="smtp.company.com" />
<!-- From Address for Email Notification -->
<add name="Spotfire.Automation.SendMail.FromAddress"
value="[email protected]" />
<!-- Timeout (seconds) for the library import operation for the Import Library task
-->
<add name="Spotfire.Automation.LibraryImport.TimeoutInSeconds" value="300" />
<!-- Timeout (seconds) for the library export operation for the Export Library task
-->
<add name="Spotfire.Automation.LibraryExport.TimeoutInSeconds" value="300" />
</preferences>
● Replace the value of Spotfire.Automation.SendMail.SMTPHost with the SMTP host for email
notification.
● Replace the value of Spotfire.Automation.SendMail.FromAddress with the From address for
email notification.
For information on other Automation Services settings that you can configure, see the topic
"Spotfire.Dxp.Worker.Automation.config" in the Spotfire Server help.
5. On the command line, import the customized configuration file back into Spotfire Server and name
the configuration by using the import-service-config command.
If the configuration to be imported was created from the default configuration, a new name
must be specified.
6. Optional: On the command line, assign the created configuration to an existing Automation Services
service:
Alternatively to step 6, you can assign the new configuration to a service by editing the
service in the Nodes & Services section of the server's administration interface .
Option Description
X.509 certificate subject Select a valid X.509 certificate. This is used to protect the security of the
passwords that are used to connect to the external data sources. The valid
certificates that are installed locally on your computer are listed in the drop-
down list.
The selected certificate must also be installed on the node that runs
the Automation Services jobs.
Credentials profile Select the name of the credentials profile. Make sure that the profile matches a
profile that is saved in the analysis file. The profile that is used in an analysis is
saved in the Data Connection Properties dialog in Spotfire.
Username Enter the username for the profile to use when connecting to the data source.
Username is mandatory.
Password is mandatory.
Option Description
X.509 certificate subject Select a valid X.509 certificate. This is used to protect the security of the
passwords used to connect to data sources. The valid certificates that are
installed locally on your computer are listed in the drop-down list.
The selected certificate must also be installed on the node that runs
the Automation Services jobs.
Data source Select the data source for which you are setting credentials.
Username Enter the username to use when connecting to the specified data source.
Option Description
New Content Enter the new content for the text area in this field.
After you set up a job file, you should always make sure that it works as expected by executing it locally
before you run it on a server. When you have checked that it works both locally and on the server, you
can set it up to run regularly with a task scheduler.
1. In the Job Builder, open the file that you want to test.
2. Click Tools > Execute Locally.
If the job does not include the task Send Email, go to step 5. If the job includes Send Email, continue
to step 3.
3. In the first dialog that opens, enter the name of your SMTP host and then click OK.
4. In the second dialog that opens, enter the sender address and then click OK.
5. Check that all the tasks were executed as expected, and then test the job on the server.
Prerequisites
To execute jobs on the server, you must be part of the group Automation Services Users.
Procedure
1. In the Job Builder, open the file that you want to test.
2. Click Tools > Execute on Server.
3. When the job has finished, check that all the tasks were executed as expected.
Job execution
After you create a job using the Spotfire Automation Services Job Builder, you can schedule the job to
run periodically from the Automation Services area of the administration interface. Alternatively, you
can use the Client Job Sender and Windows Task Scheduler to set up periodic job execution.
For details on using the administration interface, see "Automation Services job scheduling" in the
Spotfire Server Installation and Administration help.
To use the Client Job Sender and Windows Task Scheduler, begin by installing the Client Job Sender.
Rather than installing and configuring the Client Job Sender and then working in Windows
Task Scheduler, you can schedule your job to run periodically from the Spotfire administration
interface. For details, see "Automation Services job scheduling" in the Spotfire Server help.
Prerequisites
● You have access to the Automation Services package that was downloaded from the TIBCO
eDelivery website.
● The computer on which you plan to install the Job Sender has the .NET Framework version that is
required for the installed Spotfire Analyst client.
Procedure
● From the Automation Services package, copy the following two files to any folder on a computer
in your Spotfire environment, or in the specific site if the environment includes sites. The files must
reside in the same folder.
● Spotfire.Dxp.Automation.ClientJobSender.exe
● Spotfire.Dxp.Automation.ClientJobSender.exe.config
What to do next
If your company uses a web-based authentication method such as OpenID Connect, you must
configure OAuth2 authentication for the Client Job Sender; for instructions, see Configuring the
Client Job Sender for OAuth2 authentication.
Otherwise, OAuth2 can be implemented for the Client Job Sender regardless of the authentication
method used in your environment. This could be advantageous in situations such as the following:
● Because the OAuth2 client can only be used to execute jobs, you may choose this method for
security reasons.
● The administration structure at your company may make it more convenient to use OAuth2
authentication, for example if the Active Directory is updated in a different department.
If you plan to configure OAuth2 authentication to the server, an administrator must first run a
command on the Spotfire Server command line; for instructions, see Configuring the Client Job Sender
for OAuth2 authentication.
Procedure
● Open the configuration file in an XML editor or a text editor, and edit the following settings as
necessary:
Setting Description
Setting Description
Spotfire.ClientCertificate.StoreLocation The store location for the installed X.509 client certificate
used to authenticate with Spotfire Server. Can be
CurrentUser or LocalMachine.
Spotfire.ClientCertificate.StoreName The store name for the installed X.509 client certificate
used to authenticate with Spotfire Server. Can be
AddressBook, AuthRoot, CertificateAuthority, My, Root,
TrustedPeople, or TrustedPublisher.
Spotfire.ClientCertificate.SerialNumber The serial number for the installed X.509 client certificate
used to authenticate with Spotfire Server.
Setting Description
If no username and password or client certificate is specified and Spotfire Server uses
Windows authentication (NTLM or Kerberos), then the Client Job Sender will use the
identity of the Windows user that executes the job to authenticate with Spotfire Server.
It is possible to encrypt the password or the client secret that is specified in the configuration
file. To encrypt the password or client secret (whichever setting has a value in the
configuration file), enter the following on the command line:
Add the encryptWithUserScope parameter to encrypt using the current Windows user
account; otherwise, the computer account is used. For more information, see https://
msdn.microsoft.com/en-us/library/system.security.cryptography.dataprotectionscope.aspx.
After encryption, the password and clientSecret fields in the configuration file are empty
and new fields (Spotfire.Authentication.Basic.Password.EncryptedUserscope
or Spotfire.Authentication.Basic.Password.EncryptedMachineScope, and
Spotfire.Authentication.OAuth2.ClientSecret.EncryptedUserscope or
Spotfire.Authentication.OAuth2.ClientSecret.EncryptedMachineScope) containing
the encrypted password or client secret are added.
1. On the computer running Spotfire Server, open a command line as an administrator and change
the directory to the location of the config.bat file (config.sh on Linux). The default location is
<server installation diretory>\tomcat\spotfire-bin.
2. Enter the following command, adding a name for the client to be created:
The server registers a new Client Job Sender OAuth2 client and displays its client ID and client
secret.
If the Client Job Sender executes jobs that are stored in the library, the created client must
have "read" access to the folders where the jobs are stored. Give access to the user by using
the Library Administration tool in Spotfire Analyst. For instructions, see "Editing Folder
Permissions" in the Spotfire Analyst User's Guide.
3. From the folder where you placed the Automation Services Client Job Sender files, open the
Spotfire.Dxp.Automation.ClientJobSender.exe.config file in an XML editor or a text editor.
4. In the <appSettings> section, enter the values for the client Id and client secret from step 2 for the
following settings:
Spotfire.Authentication.OAuth2.ClientId
Spotfire.Authentication.OAuth2.ClientSecret
● You have an Automation Services job file that was created by using the Job Builder.
● You are a member of the group Automation Services Users.
● The files Spotfire.Dxp.Automation.ClientJobSender.exe and
Spotfire.Dxp.Automation.ClientJobSender.exe.config are located in the same directory.
● If the job you are executing was saved in the library, you have "read" access to the job file.
Procedure
where:
The job may also be stored in a directory outside of the library. In that case, enter the
complete path to the job file. See the second example, below.
● -useLibraryPath indicates that the job is being identified by its library path.
Alternatively, you can identify a job in the library by using its Library ID. In that case,
enter the following text after the ID: -use LibraryId. See the first example, below.
To quickly copy the path to a job file in the library, or the Library ID of the job file, in the
Automation Services Job Builder, click Copy Path or Copy Library ID on the Tools menu.
By default the Client Job Sender waits for the job to finish before the tool closes. To have the
tool close immediately after the job starts, add the -async flag to the end of the command
line. This can be useful if you want to run several jobs simultaneously. See the third example,
below.
For more information, see Client Job Sender monitoring.
Examples
● Asynchronous example:
● To encrypt the password or the client secret in the configuration file, also enter
the following command:
Return
code value Return code Message
Return
code value Return code Message