I figured out how to load a spotfire dashboard into an html page (see codes at end of this message).

Hi, I figured out how to load a spotfire dashboard into an html page (see codes at end of this message). Now, I'm trying to load each of the following in an iframe:

1) display all of the content on only one of the pages of the spotfire dashboard (ie. only load one page)

2) #1 with some or none of the filters displayed

3) #1 with the text area only

4) only one particular table (ie. Data table, cross table, etc.) from one particular page

5) only one particular visualization (ie. Scatterplot, bar graph, heatmap, sparkline, etc.) from one particular page

Any help would be greatly appreciated! Thanks!

Here are my codes:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 

<html xmlns="http://www.w3.org/1999/xhtml"> 


<title>Whole dashboard</title> 

<script type="text/javascript" src="http://bsm-bccwdvspf01/SpotfireWeb/GetJavaScriptApi.ashx?Version=6.0"></script> 

<script type="text/javascript"> 

  window.onload =function() 


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

  customization.showTopHeader= true;

  customization.showToolBar= true;

  customization.showExportFile= true;

  customization.showExportVisualization= true;

  customization.showCustomizableHeader= true;

  customization.showPageNavigation= true;

  customization.showStatusBar= true;

  customization.showDodPanel= true;

  customization.showFilterPanel= true;

  var app = new spotfire.webPlayer.Application("http://bsm-bccwdvspf01/SpotfireWeb/",customization); 
app.onError(errorCallback); //Register an error handler to catch errors 
app.onOpened(onOpenedCallback); //Register event handler for document opened event 
app.onClosed(onDocumentClosedCallback); //Register event handler for document closed event

  app.open( //Opens the Spotfire analysis 
  "Enterprise Platform Services/Platform Engineering/Dan/StoreSales", 
  'Parameter.BusinessLocation = {Boston, Seattle};'); 


  function errorCallback(errorCode,description){alert(errorCode + ": " + description);} //Displays an error message

  function onOpenedCallback(analysisDocument){} //Document is now opened and ready for interactions

  function onDocumentClosedCallback(analysisPath){} //Document is now closed



<body style="margin: 0px; padding: 0px;">
<div id="webPlayer" style="width: 800px; height:400px;"></div> </body>