cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

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