cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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