Preparing Analyses for Spotfire Web Clients


When an analysis file is saved to the library, it becomes available to use in Spotfire web clients. Web browser-based versions of Spotfire can be used for viewing and exploring prepared analyses, but also, in some cases, for creating and editing analyses.  

You can choose to copy the link to the analysis in the library from the confirmation dialog that appears after you have saved the analysis. Paste the copied link, in an email or similar, to share the information with colleagues and give access to the analysis.

Any analysis can be saved to the library and opened with a Spotfire web client, but there are a few things to keep in mind that can make things easier for the web client users. First, consider how familiar your target audience is with the visualized data. The familiarity of the target audience may affect the instructions required as well as the setup of the analysis. For example, you may need to change the visibility of some filters for a certain audience. Second, bear in mind that all users of the analysis may not have access to the same data sources.

Tips when preparing analyses for Spotfire web clients:

  1. Use text areas to write instructions about the analysis and how it is set up. For instance, if master-detail visualizations are used, try to explain their relationship.

  2. Use informative titles for the visualizations.

  3. The overview of data will be improved if you hide filters that are not relevant for the visualizations in the analysis. For an explanation of how to hide filters, see Showing and Hiding Filters.

  4. When using links or buttons in a text area, try to write instructions so that the information is helpful, even if the links should happen to become temporarily unavailable.

  5. Consider whether all users of the analysis have access to all of the original data sources. If not, you may need to save some data tables, or parts of data tables, stored in the analysis, rather than linked to the original data sources. See Permissions for information about how permissions are handled in the library. There may also be user authentication limitations directly on the data source itself. Talk to your Spotfire Administrator or data manager to understand how the permissions for different user groups have been set up within your company. Sharing analyses in a Cloud environment is different than in an on-premises environment.

  6. Before using scripts in an analysis, consider the restrictions due to security reasons. For more information, see Usage of Scripts.

  7. It is not possible to view the 3D Scatter Plot on the web. Also note that some custom visualizations may not be shown. The analysis can still be opened in web clients, but the visualizations that are not supported will not be shown.

  8. Consider whether web client users should be allowed to export data from tables. Make the appropriate settings on the Appearance page of the Table Properties, Cross Table Properties, Summary Table Properties, and/or Details-on-Demand Properties.

  9. Consider whether web client users should be able to open a personalized view of the analysis and/or be allowed to add bookmarks. Open the Document Properties dialog to change these settings.

  10. Consider whether web client users with sufficient permissions should be allowed to edit the analysis. Open the Document Properties dialog to change these settings.

Design for the intended platform

If you know that your end users will view an analysis using a particular equipment or with a specific browser, you can look up the current visualization area size on that device and then design your analysis so that it is optimized for that particular screen size. Note that the current visualization area size is dependent on what browser and which toolbars and items are shown in the browser, so make sure that you are using the same settings when creating the analysis.

For more information about designing for a small screen, see Authoring Analyses for Small Screens. For more information about adding properties specific to mobile use, see Barcode Scanning and Positioning.

If you want to set up an analysis that works both on a desktop computer with a large screen and also on a projector, you can use bookmarks to switch between the different sizes and layouts. The sizes for the projector and the large screen desktop computer can be stored by an administrator in the preferences.

To use bookmarks for adapting an analysis to different screen sizes:

  1. Set up an analysis that works well on your large screen with the intended fixed size preset. Configure all text areas to Include configuration in bookmark.

  2. When the document is finished, add a bookmark named something like "Large screen desktop computer".

  3. Switch to the fixed size preset for the projector, and make updates to make the analysis work on a projector:

  4. When the projector version of the analysis is finished, add a bookmark named "Projector".

  5. Save the analysis.

The analysis is now adapted both to a projector and to a large screen desktop computer.

Note: If you are preparing an analysis containing streaming data, WebSockets must be enabled on the Spotfire Server running the web client. You can open the analysis in a web client and verify that the tooltip on the globe icon reads 'Connection: WebSockets'. If it does not, WebSockets might not be enabled. Contact your Spotfire administrator for more information.

See also:

Saving an Analysis file in the Library

Master-Detail Visualizations

Links to Analyses in the Library