JSL: Save dashboard as interactive htmlI built a dashboard from a script and want to save it as an interactive html and close it afterwards. The script runs fine, but the saving and closing doesn't.
I tried it with something similar than this, but it doesn't work.
Help is appreciated! Thanks in advance!
Markus
Names Default To Here( 1 );
Open("$SAMPLE_DATA/Quality Control/Steam Turbine Historical.jmp");
app = JMP App();
app << Open File( "$SAMPLE_DASHBOARDS/Instant Dashboard.jmpappsource" );
box = app << Run;
box << save html("C:\Users\Markus\Desktop\test.htm");
close(box);Sharing and Communicating ResultsRe: JSL: Save dashboard as interactive htmlI think the run application command gave a different type than you expected,
try the attached script.
Names Default To Here( 1 );
tmp_path = Substitute( Right( Convert File Path( "$TEMP" ), Length( Convert File Path( "$TEMP" ) ) - 1 ), "/", "\" );
Open( "$SAMPLE_DATA/Quality Control/Steam Turbine Historical.jmp" );
app = JMP App();
app << Open File( "$SAMPLE_DASHBOARDS/Instant Dashboard.jmpappsource" );
box = app << Run;
Show Properties( box );
Show( box );
(box << get windows)[1] << save html( "$TEMP\test.htm" );
Re: JSL: Save dashboard as interactive htmlFor Interactive HTML, you should use
Save Interactive HTML
instead of 'save HTML'
- John