Jump to content
We've recently updated our Privacy Statement, available here. ×

Is it possible to open an analysis file by passing an object to spotfire instead of path to that file


Georgi Koemdzhiev

Recommended Posts

I am trying to figure out (find what limitations the Spotfire API has) in terms of opening Analysis files. Does the Spotfire API allow creating an in-memory object representing the Analysis file to the WebPlayer to open instead of passing a PATH to that file in the Library I am using Spotfire version 10.1. To illustrate what I am trying to achieve, I am attaching this code block:

window.onload = function() {

var customization = new spotfire.webPlayer.Customization();

customization.showClose = false;

// can I pass dxp file in memory like that

var file = new AnalysisFile();

var app = new spotfire.webPlayer.Application(htmlRawModelAnalyticsserver,

customization,

file);

var doc = app.openDocument("spotfire-container", htmlRawModelLaunchpage);

}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...