You first need to enable the JavaScript API from the Web Player Web.config file under WEB_PLAYER_INSTALL_DIR\VERSION\webroot:
find the section
You can now create direct links to the report pages using URLs in the format:
http(s)://web_player_url:web_player_port/SpotfireWeb/ViewAnalysis.aspx?file=/path_to_analysis&configurationBlock=SetPage(pageTitle="page_name");
where page_name is NOT case sensitive, or:
http(s)://web_player_url:web_player_port/SpotfireWeb/ViewAnalysis.aspx?file=/path_to_analysis&configurationBlock=SetPage(pageIndex="page_number");
where page_number starts from 0
Note the mandatory semicolon (;) at the end of the URL
No comments:
Post a Comment
With great power comes great responsibility