cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
ValeriaJMP
Level I

JMP version 17 - "Save Script --> To Data Table (All Objects)" not working properly

Dear JMP user,

I recently switched to JMP 17 but I found that something was not working properly any longer.

I generate through JSL scripts some fairly elaborate journals and I had found a beautiful button "Save Script --> To Data Table (All Objects)" that allowed me to save the whole journal to the data table (see image of the button below).

This is not longer working in JMP17. The script is saved, but when I look at the code it does not look like properly formatted JSL code but just text... see image "JMP17_question2".

Please help, Valeria

9 REPLIES 9
Craige_Hales
Super User

Re: JMP version 17 - "Save Script --> To Data Table (All Objects)" not working properly

It appears to be the JSL to reproduce the journal, which is captured in a text string that is reinterpreted by the JournalBox. What does it do when you run it? Can you show what the code looked like before? What JMP version were you using when it worked?

Craige
ValeriaJMP
Level I

Re: JMP version 17 - "Save Script --> To Data Table (All Objects)" not working properly

Hi Craige,

 

thank you for trying to help and sorry for the late reply. The script does not run.

Please find attached the script saved to the data table with the JMP 16 version (which runs properly) and the same script saved with the JMP17 version.

I think this is a bug. Are you working for JMP. If not, do you know how to I can get help directly from them?

I use this feature all the time and now I had to revert to JMP16 to be able to use it again.

 

Regards, Valeria

stan_koprowski
Community Manager Community Manager

Re: JMP version 17 - "Save Script --> To Data Table (All Objects)" not working properly

Valeria,

Yes you can always contact support directly at support@jmp.com.

They would be very happy to help with your issue.

cheers,

Stan

Craige_Hales
Super User

Re: JMP version 17 - "Save Script --> To Data Table (All Objects)" not working properly

I'm retired, no longer at JMP. Stan is right, this looks like a Tech Support issue. I agree, the new file seems wrong.

Craige
ValeriaJMP
Level I

Re: JMP version 17 - "Save Script --> To Data Table (All Objects)" not working properly

Thank you both and sorry again for my late reply...I have kept using JMP 16 so it was not so urgent. By now I must upgrade to JMP 18 and it has the same issue. I have finally contacted support and I will let you know if they solve it...

I seem to be the only one using this feature :-).

hogi
Level XII

Re: JMP version 17 - "Save Script --> To Data Table (All Objects)" not working properly

Hi @ValeriaJMP , it's somehow surprising to see 

hogi_3-1730900677368.png

in the context of Journals. On my system, a red triangle menu in a journal looks like this:

hogi_2-1730900660812.png

 

Maybe, a colleague used a Journal as an easy way to generate something like a Dashboard?
For Dashboards, there is indeed a similar function:

hogi_4-1730900836626.png

... and running it from the red triangle menu of the dashboard generates a different result than running it from the red triangle menu of a Graph builder object. Both provide a way to "store all objects" - but just the red triangle menu of the dashboard generates a script with  "new window ..." (like in your case).


Concerning JMP16 - could you please have a look at 

hogi_0-1730900251791.png

it just contains a script to generate bottom part of the journal with the data filter and the graphbuilder plot - not: all objects.

hogi_5-1730901063409.png

hogi_6-1730901189210.png

ValeriaJMP
Level I

Re: JMP version 17 - "Save Script --> To Data Table (All Objects)" not working properly

Hi Hogi, I made my own journal in a jsl script this is why I see the extra content "Save Script --> To Data Table (All Objects)".

I did not generate a dashboard. Indeed in the snapshot the "(All Objects)" part it missing but it is there and I used it all the times. Just a snapshot issue.

In any case, let's see what the support replies....

 

hogi
Level XII

Re: JMP version 17 - "Save Script --> To Data Table (All Objects)" not working properly

For debugging purposes, could you please generate a short script to generate the journal based on BigClass from the samples directory - with the red triangle options?

Re: JMP version 17 - "Save Script --> To Data Table (All Objects)" not working properly

Hi @ValeriaJMP -  If you save a journal to a file, it loses interactive behavior.  The contents of the journal will be the same as what you are seeing in the JournalBox() script.

The script below demonstrates similar cases using (1) a journal (2) a report.  For most cases with live platform objects, I expect that the report document will be the preferred way to go.

 

// This puts a live platform in a Journal window.  When journals are saved and
// reopened, interaction in the saved journal is more limited
dt = Open("$SAMPLE_DATA/Big Class.jmp");
w = New Window("journal",
	<<Type("Journal"),
	Outline Box("Dashboard",
		Text Box("Custom journal created from JSL"),
		dt << Run Script("Bivariate")
	)
);
script = Get Session Script(w);
w << Close Window;
Wait(1);
script;	// the script will run, but the platform is a clone of the original


// If you do the same thing in a report window, it will retain interactivity
dt = Open("$SAMPLE_DATA/Big Class.jmp");
w = New Window("report",
	Outline Box("Dashboard",
		Text Box("Custom journal created from JSL"),
		dt << Run Script("Bivariate")
	)
);
script = Get Session Script(w);
w << Close Window;
Wait(1);
script;	// the script runs, and the platform is live