Creating extensions to the Spotfire platform
Use the following procedure to extend Spotfire with custom capabilities. This procedure is an overview of all of the tasks required to create, build, debug, and deploy a Spotfire extension.
Before you begin
- You must have a supported version of Visual Studio installed and configured for a Spotfire client.
- You must have access to Spotfire Package Builder. See Spotfire Package Builder for more information.
- You must have the Spotfire Windows application installed on your computer.
- You must have administration access to Spotfire Server to deploy packages.
Extending the Spotfire platform is a straightforward procedure based
on the extension mechanism:
- Break down the problem and determine the appropriate extension points to use.
- Register an extension for each point.
- Implement the base classes tied to the respective extension points.
About this task
See Creating an extension using only Visual Studio for detailed instructions of the recommended way to develop extensions.
When the package is built, add the package file to a suitable deployment area from Deployments & Packages in the Spotfire Server web administration pages.
If you instead want to use the deprecated graphical Package Builder tool, you must switch between the different environments, as outlined below.
Procedure
Results
- Installing the Spotfire extension project templates
The Spotfire extension project templates are used in Visual Studio to create new Spotfire extension projects. They handle implementation details and enable you to focus on adding new functionality. - Creating an extension using only Visual Studio
As an alternative to use Visual Studio to develop the source code and then use Package Builder to create the deployable package, it is also possible to stay in Visual Studio all through development, debugging and building of packages. - Creating a Spotfire extension in Visual Studio
This task demonstrates creating a Microsoft Visual Studio project that is based on the Spotfire extension project using the Spotfire Extension.zip template. - Adding a configuration to your solution in the graphical Package Builder tool (deprecated)
Before you add an extension to Spotfire Package Builder, provide at least one configuration. Each configuration specifies at least one Spotfire distribution to which you can add an extension. The distribution is provided with the Spotfire Developer installation. You can specify the Spotfire distribution later. - Adding Spotfire extensions to Spotfire Package Builder configurations (deprecated)
Spotfire Package Builder guides you through the process of creating a package to contain an extension. - Develop and debug extensions
After you add an extension in Spotfire Package Builder, you can develop its features and debug it for the installed Spotfire client using the special Spotfire starter executable. (Debugging in Spotfireweb clients requires a different procedure.) - Validate and deploy the packages
After you have created, developed, and debugged the extension, use Spotfire Package Builder to save, validate, test locally, and deploy a package to Spotfire Server.
Parent topic: Extensions