Create a template for the gadget

Prev Next

In this tutorial you will learn how to import LiveReport data into Spotfire, save a document as a template in the Spotfire library and open this template in LiveDesign in order to automatically visualize data of a LiveReport by using all the capabilities of Spotfire into the LiveDesign environment.

Import LiveReport data

The first step of a template creation is to load a LiveReport dataset into a Spotfire document.

  1. Open your Spotfire client (Analyst or Web Player)
  2. Click on the menu Discngine > LiveDesign Connector to open the panel
  3. Login to LiveDesign (not required if already connected)
  4. Click on Import from the home page
  5. Select the LiveReport to import from the LiveDesign tree (to find it you can filter using its name or id)
  6. Click on Next
  7. Keep the default destination data table name to be able to use it in the gadget
  8. Click on Import LiveReport

LiveDesign Connector Import Flow

Reference

See the corresponding documentation for more details about the import options.

Add visualizations

After importing data, all document manipulations can be done as usual. Visualizations can be added, as well as data transformations, data functions or other data sources (databases, files, web services...).

For this tutorial you will simply add two visualizations:

  1. Add a scatter plot
  2. Add a bar chart

Save as template

When the analysis is ready, it needs to be saved in the Spotfire library in a specific folder, under a specific path, in order to bind the template to the previously imported LiveReport.

  1. Click on Save from the home page
  2. Check the concerned Project and LiveReport
  3. Change the template name by adding "from tutorial" at the end
  4. Click on Save

LiveDesign Connector Save Flow

Reference

See the corresponding documentation for more details about the save options.

Open in gadget

You can now use the template from the Spotfire Connector Gadget.

  1. Open your LiveDesign client (use the same URL that the one used to login during the import step)
  2. Open the LiveReport previously imported into Spotfire
  3. Open the "Spotfire Connector Gadget" from the Tools left pane (the name can be different depending on your company)
  4. Select the previously created template named LiveReport from tutorial (depending on the preferences it may be loaded automatically)
  5. Check that you have a bar chart and a scatter plot and that bi-directional marking is working