So speichern Sie das Dashboard als interaktives HTMLIch habe ein Skript, das ein Dashboard generiert. Ich benötige eine Codezeichenfolge, um das geöffnete Dashboard als interaktives HTML zu speichern. Ich habe den folgenden Code gefunden, der teilweise das Gleiche bewirkt ( Originalquelle ), aber ich bin mir nicht sicher, wie ich es ändern soll, damit es mit einem bereits geöffneten Dashboard funktioniert.
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" );
Automatisierung und SkripterstellungBetreff: So speichern Sie das Dashboard als interaktives HTMLHallo @Steffen_Bugge ,
Wenn Sie bereits ein Dashboard geöffnet haben, funktioniert möglicherweise das folgende Skript. Ich hoffe, es hilft.
Current Report() << Save Interactive HTML( "$TEMP\test.htm" );
Betreff: So speichern Sie das Dashboard als interaktives HTMLVielen Dank, @yuichi_katsumur
Schlicht und elegant!