cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
Steffen_Bugge
Level IV

How to save dashboard as interactive html

I have a script that generates a dashboard. I need a code string to take the open dashboard and save it as interactive HTML. I have found the following code to do partly the same (original source), but I am unsure how to modify it to work with an already open dashboard.

 

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" );

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to save dashboard as interactive html

Hello @Steffen_Bugge ,

If you have already opened a dashboard, the following script might work. I hope it helps.

Current Report() << Save Interactive HTML( "$TEMP\test.htm" );

View solution in original post

2 REPLIES 2

Re: How to save dashboard as interactive html

Hello @Steffen_Bugge ,

If you have already opened a dashboard, the following script might work. I hope it helps.

Current Report() << Save Interactive HTML( "$TEMP\test.htm" );
Steffen_Bugge
Level IV

Re: How to save dashboard as interactive html

Thanks a lot, @yuichi_katsumur

Simple and elegant!