cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to move from signal modeling to system modeling at the first JMP Aerospace Analytics webinar. Register. June 18, 1 p.m. US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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!

Recommended Articles