when using web player javascript api cannot .customization properties applied on spotfire 7.0 web player.
when use identical html script in spotfire 6.0 web player customizations hide toolbar , hide status bar disappear expected (see below).
any suggestions appreciated.
ps. noticed .open parameters parameter configuration block 'setpage(pageindex = 2);' fail applied in 7.0 web player work on 6.0.
<!doctype html> <html> <head> <title>dashboard</title> <script type="text/javascript" src="./getjavascriptapi.ashx?version=6.0"></script> <script type="text/javascript"> window.onload = function() { var wpcustomization = new spotfire.webplayer.customization(); wpcustomization.showtoolbar = false; wpcustomization.showstatusbar = false; webplayer1 = new spotfire.webplayer.application("http://spf2/spotfireweb/", wpcustomization); webplayer1.open('/information model/analyses/operations/operations management dashboard/dashboard mockup','dashboard','setpage(pageindex = 2);' ); } </script> </head> <body > <div id="dashboard" ></div> </body> </html>
please apply latest hotfix; think fixed in hf001:
tswp-8143 - customization settings in javascript mashup code not applied correctly.
you can hotfixes , installation instructions @ http://support.spotfire.com/patches_spotfire.asp#spotfire70
Comments
Post a Comment