Choose Language Hide Translation Bar
Highlighted
JulieSAppel
Level IV

Creating a user friendly pick and choose catalogue

Hi,

I have been working on a script to ease the data flow (reformatting, restructuring, calculations etc) for a large group of scientists providing them with the specific outputs they need. The challenge is now that due to very different user prerequisites I need this script to be:

1) very user friendly

2) able to take input from users on certain predefined variables (eg the user inserts a certain date & time) from a list or calendar etc which will then be populated in the data set and used in the script.

 

So my question is now what is the best way to do this? Display boxes? Application builder?

Or something entirely different?

 

Br Julie

 

3 REPLIES 3
Highlighted

Re: Creating a user friendly pick and choose catalogue

I will let other more qualified experts answer questions about the scripting or Application Builder approaches that will help you. I just want to say that JMP itself is designed to be user friendly and offers many powerful, interactive capabilities. So I guess I am saying that some training about how to generally use JMP might go a long way towards reducing the demands placed on your solution. I do not mean to say that learning JMP is the only, complete answer. It just might help a lot.

Learn it once, use it forever!
Highlighted
txnelson
Super User

Re: Creating a user friendly pick and choose catalogue

Not knowing the specific details of your requirements, I would suggest that you take the Application Builder approach.

Jim
Highlighted
gzmorgan0
Super User

Re: Creating a user friendly pick and choose catalogue

@JulieSAppel,

 

Both DisplayBox scripting and ApplicationBuilder has a learning curve. I agree with jim, @txnelson, that ApplicationBuilder has some advantages. for example the constructors (boxes) have the properties list displayed and easily accessible help.

 

However, if your prompts are sequential or conditional, then it might take a bit more scripting than a series of dialogs. I do not know the scope of this application nor your JMP scripting knowledge. For novice JSL scripters, I point to one of the JMP scripts written in the JMP Scripting Guide, and listed below. For ApplicationBuilder novices, I suggest Help > Sample Data > button - Open Sample Applications Directory

Launcher With Report.jmpappsource. This UI dialog is similar to a platform dialog, getting user input regarding  the current data table.  Even though that does not sound like your goal, it is a good application to try adding different constructors and playing with them and demonstrates the two tasks: geting user input (UI) and generating a report/table. Good Luck!

 

win = New Window( "New Window Example",
	<<Modal,
	<<ReturnResult, // ensure that you get the same result as with Dialog
	V List Box(
		V List Box(
			Text Box( "Radio Frequency Embolism Projection" ),
			Lineup Box( N Col( 2 ),
				Text Box( "Lower Spec Limit" ),
				lsl_box = Number Edit Box( 230 ),
				Text Box( "Upper Spec Limit" ),
				usl_box = Number Edit Box( 340 ),
				Text Box( "Threshold" ),
				threshold_box = Number Edit Box( 275 )
			),
			H List Box(
				Panel Box( "Type of Radio", rb_box1 = Radio Box( {"RCA", "Matsushita", "Zenith", "Sony"} ) ),
				Panel Box( "Type of Antenna",
					rb_box2 = Radio Box( {"Dish", "Helical", "Polarizing", "Radiant Array"} )
				)
			),
			cb_box1 = Check Box( "Emission Synchronization" ),
			Text Box( "Title for plot" ),
			title_box = Text Edit Box( "My projection" ),
			H List Box(
				Text Box( "Quality" ),
				cb_box2 = Combo Box( {"Fealty", "Loyalty", "Piety", "Obsequiousness"} )
			)
		),
		H List Box(
			Align( Right ),
			Spacer Box(),
			Button Box( "OK",
				lsl = lsl_box << Get;
				usl = usl_box << Get;
				threshold = threshold_box << Get;
				radio_type = rb_box1 << Get;
				antenna = rb_box2 << Get;
				synch = cb_box1 << Get;
				title = title_box << Get Text;
				quality = cb_box2 << Get;
			),
			Button Box( "Cancel" )
		)
	)
);
If( win["Button"] == 1, 
// if the user clicks OK, show the selections in the log
	Show( "OK", lsl, usl, threshold, radio_type, antenna, synch, title, quality )
,
	Show( "Canceled" ); // if the user clicked Cancel, print "Canceled"
);

  

Article Labels

    There are no labels assigned to this post.