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.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Françoise
Level VI

bouton publier dans le fichier

bonjour,

 

est-ce qu'il est possible de créer dans un rapport un bouton "publier dans un fichier"?  quand l'utilisateur clique sur ce bouton, un rapport html est créé automatiquement.

 

cordialement

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: bouton publier dans le fichier

Here is an example of one way to do what you want

Names Default To Here( 1 );
Bivariate( Y( :height ), X( :weight ), Fit Line( {Line Color( {212, 73, 88} )} ) );

theReport = Current Report();
theReport[Outline Box( 1 )] << prepend(
	bb = Button Box( "Publish to File",
		bb << visibility( "collapse" );
		theReport << save interactive HTML( "$TEMP/jmp_example.html" );
		bb << visibility( "visible" );
	)
);

txnelson_1-1673923846373.png

 

txnelson_0-1673923731616.png

 

Jim

View solution in original post

2 REPLIES 2
txnelson
Super User

Re: bouton publier dans le fichier

Here is an example of one way to do what you want

Names Default To Here( 1 );
Bivariate( Y( :height ), X( :weight ), Fit Line( {Line Color( {212, 73, 88} )} ) );

theReport = Current Report();
theReport[Outline Box( 1 )] << prepend(
	bb = Button Box( "Publish to File",
		bb << visibility( "collapse" );
		theReport << save interactive HTML( "$TEMP/jmp_example.html" );
		bb << visibility( "visible" );
	)
);

txnelson_1-1673923846373.png

 

txnelson_0-1673923731616.png

 

Jim
Françoise
Level VI

Re: bouton publier dans le fichier

Bonjour Jim,

 

merci pour votre solution que j'ai testée avec votre exemple.

 

je l'ai incorporé dans un script de tableau de pilotage, mais j'ai un autre problème: voir images jointes. Je ne sais pas comment résoudre ce problème.

 le message d'erreur et l'extrait du script:

cordialementCapture 1701 1.JPGCapture 1701 2.JPG

Recommended Articles