- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Save As HTML
Hello everyone,
I have a question about JMP, I am building a dashboard using different tables.
I'm trying to automate saving with interactive html.
Here is the code I am using but nothing is saving to my file.
dashboard = JMP App(); //dashboard
dashboard << Run;
DASHBOARD = dashboard << report;
DASHBOARD << Save interactive HTML("file...");
I don't understand why this doesn't work!
Thanks for your help !
This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Save As HTML
I found the solution :
dashboard = JMP App();
dashboard << Run;
DASHBOARD = current report();
DASHBOARD << Save interactive HTML("file...");
DASHBOARD << close window;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Save As HTML
I found the solution :
dashboard = JMP App();
dashboard << Run;
DASHBOARD = current report();
DASHBOARD << Save interactive HTML("file...");
DASHBOARD << close window;
This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Save As HTML
As you discovered, the <<Report message does not work on a Dashboard. JMP Applications in general can have multiple windows, though a Dashboard will generally only have one. The <<Get Windows message is similar to <<Report, but it will return a list. This would be an alternative to using Current Report(), with the assumption that there is only one window:
Open("$SAMPLE_DATA/Quality Control/Steam Turbine Historical.jmp");
app = JMP App();
app << Open File( "$SAMPLE_APPS/Instant App.jmpappsource" );
box = app << Run;
(app << Get Windows()) << Save interactive HTML("$TEMP/app.html");
Open("$TEMP/app.html");