The pre-Spotfire 3.1 JavaScript API for developing mashups includes functions for modifying the objects that are used in the Web Player, marking, filtering, changing page and applying bookmarks. That version of the API also included events that trigger when one of these objects are changed.
Many new APIs were added in 3.1 to make it easier for web developers to integrate with the new Property-driven analytic applications and to build mashups that are not hardcoded to a specific Spotfire DXP file or dataset.
Specifically, the new Spotfire 3.1 JavaScript APIs include the ability to:
- Get, set, enumerate and listen for changes of:
- Document Properties
- Data Table Properties
- Column Properties
- Get the current value or state for the existing functionality:
- Enumerate and get values (to go along with the existing set methods) of metadata for the document:
- Data Tables
- Columns
- Filtering schemes
- Filters
- Pages
- Bookmarks
- Markings
- Analysis file
All of this should allow web developers to build even richer and more integrated applications that combine the unique capabilities of the Spotfire Web Player with existing web-based applications.