Spotfire Developer Documentation

Packaging an extension

After you have developed, debugged, and tested the extension locally, you are ready to package it for deploying to the Spotfire Server.

About this task

Perform this task in the Spotfire Package Builder.

Before you begin

Your extension must be thoroughly tested before packaging for distribution.

Procedure

  1. Open the extension in Spotfire Package Builder.
    Make sure it does not display a warning icon. If it does, click Validate and Save.
  2. In Spotfire Package Builder, select the extension to package.

    Selecting the extension to package

  3. Click File > Build Package File.
    Spotfire Package Builder saves the extension as a Spotfire package (SPK) file. By default, this file is saved to the SDK\Package Builder directory. Make a note of its location, and save it.

Results

The extension is packaged into a format that you can deploy to the Spotfire Server.

What to do next

Select the deployment procedure appropriate for your development environment. You must be logged in as a member of the Administrator or the Deployment Administrator group to perform either of these tasks.

Deployment option Description
Deploying a package from Spotfire Server. The procedure preferred for distributing an extension to the Spotfire users in your organization.
Deploying a package from Spotfire Package Builder. This feature is provided as a convenience, because extensions with custom licenses must be deployed to the server to be debugged.