cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hcarr01
Level VI

Save As HTML

Bonjour à tous,

 

j’ai une question sur JMP, je construis un dashboard à l’aide de différentes tables.
J’essaye d’automatiser l’enregistrement avec un html interactif.
Voici le code que j’utilise mais rien ne s’enregistre dans mon dossier.

 

dashboard = JMP App(); //dashboard

dashboard << Run;
DASHBOARD = dashboard << report;

DASHBOARD << Save interactive HTML("file...");

Je ne comprends pas pourquoi cela fonctionne pas !

 

Merci pour votre aide !

1 ACCEPTED SOLUTION

Accepted Solutions
hcarr01
Level VI

Re: Save As HTML

J’ai trouvé la solution :

 

dashboard = JMP App();
dashboard << Run;

DASHBOARD = current report();

DASHBOARD << Save interactive HTML("file...");

DASHBOARD << close window;

View solution in original post

2 REPLIES 2
hcarr01
Level VI

Re: Save As HTML

J’ai trouvé la solution :

 

dashboard = JMP App();
dashboard << Run;

DASHBOARD = current report();

DASHBOARD << Save interactive HTML("file...");

DASHBOARD << close window;

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

Recommended Articles