cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
WebDesignesCrow
Super User

Compile multiple .html files generated from JSL script in web report

Hi,

I've run a continuous script & save 6 charts as individual file (.html).

How do I combined my 6 html files into 1 web report (something like this JMP sample)?

WebDesignesCrow_0-1660121758952.png

I checked the scripting index, it gives below script but my script and data table change to generate the 6 charts & files.

So, when I tried to fit in below script into my script, the charts did not show correctly as I wanted to.

Names Default To Here( 1 );
Open( "$SAMPLE_DATA/Big Class.jmp", Invisible );
webreport =
New Web Report(
	Add Report(
		Distribution(
			Continuous Distribution(
				Column( :weight )
			),
			Nominal Distribution( Column( :age ) )
		),
		Title( "Distribution Web Report" ),
		Description(
			"This report was created with the sample found in the Scripting Index"
		)
	),
	Add Report(
		Bivariate(
			Y( :weight ),
			X( :height ),
			Automatic Recalc( 1 ),
			Fit Line( {Line Color( {213, 72, 87} )} ),
			Local Data Filter(
				Add Filter( columns( :sex ) )
			)
		)
	)
);
webreport << Index( Title( "Big Class Report" ) );
file = webreport << Save( "$TEMP" );
If( !Is Empty( file ),
	Web( file )
);

Any suggestion or simple way to do it?

I'm using JMP 15 & attached herewith the JSL script

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Compile multiple .html files generated from JSL script in web report

My suggestion is that you create a journal window at the beginning of your script, and then rather than saving each output as interactive html, that you copy the output to te journal window.  Then at the end of the script, you save the whole journal to interactive html.

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Compile multiple .html files generated from JSL script in web report

My suggestion is that you create a journal window at the beginning of your script, and then rather than saving each output as interactive html, that you copy the output to te journal window.  Then at the end of the script, you save the whole journal to interactive html.

Jim