Comment enregistrer le tableau de bord au format HTML interactifJ'ai un script qui génère un tableau de bord. J'ai besoin d'une chaîne de code pour prendre le tableau de bord ouvert et l'enregistrer au format HTML interactif. J'ai trouvé le code suivant pour faire en partie la même chose ( source primaire ), mais je ne sais pas comment le modifier pour qu'il fonctionne avec un tableau de bord déjà ouvert.
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" );
Automatisation et scriptsRe : Comment enregistrer le tableau de bord au format HTML interactifBonjour @Steffen_Bugge ,
Si vous avez déjà ouvert un tableau de bord, le script suivant peut fonctionner. J'espère que ça aide.
Current Report() << Save Interactive HTML( "$TEMP\test.htm" );
Re : Comment enregistrer le tableau de bord au format HTML interactifMerci beaucoup, @yuichi_katsumur
Simple et élégant !