cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
The JSL Cookbook II

The New JSL Cookbook is finally here! It is a revamp of the old Cookbook to offer recipes that are more accessible and general.

 

On the main page you’ll see four sections: Appetizers, Main Courses, Side Dishes, and Desserts. In general, the sections will go from basic to advanced. Appetizers will be used for recipes about fundamental tools in JSL, like Script Window and the Debugger. The focus won’t be on code writing, but things to help you write code better and faster. The center of attention in Main Courses will be JSL objects: tables, journals, platforms, etc., as well as basic input-output. While many of the operations in this section will become simpler as the Action Recorder develops, there will always be a need to tweak automatically generated code. Side Dishes gets into some of the nuts and bolts of JSL, things like looping, branching, error trapping, and so on. Recipes that take your JSL skills to the next level will be found here. Finally, the Desserts section will contain recipes going above and beyond everyday scripting. Here you’ll find items covering both advanced topics and JSL based JMP applications, such as the Application Builder.

 

Here are the starting nine recipes in the Cookbook:

Appetizers

The Script Window – Basics

Using the Script Widow – Next Steps

Main Courses

Join 2 Tables and Create a Subset

Modify a Report Based on Analysis Results

Build a Tailored Report using Messages

Concatenate CSV Files Selected by User

Side Dishes

Using a Dialog Box to Create a Tailored Report

Desserts

Accessing Information using REST/API – Getting Started

Running a Platform without Knowing the Number of Names of Columns

 

Tags will be used to cross reference topics to recipes. Here is the current list:

 

Tag

Recipes

Enhanced Log

The Script Window – Basics (Appetizers)

Join 2 Tables and Create a Subset (Main Courses)

Build a Tailored Report using Messages (Main Courses)

Script Editor

The Script Window – Basics (Appetizers)

Using the Script Widow – Next Steps (Appetizers)

Scripting Index

The Script Window – Basics (Appetizers)

Modify a Report Based on Analysis Results (Main Courses)

Build a Tailored Report using Messages (Main Courses)

Data Table Objects

Join 2 Tables and Create a Subset (Main Courses)

Colors

Modify a Report Based on Analysis Results (Main Courses)

Platform Objects

Modify a Report Based on Analysis Results (Main Courses)

Build a Tailored Report using Messages (Main Courses)

Report Objects

Modify a Report Based on Analysis Results (Main Courses)

Build a Tailored Report using Messages (Main Courses)

XPATH

Modify a Report Based on Analysis Results (Main Courses)

Input-Output

Concatenate CSV Files Selected by User (Main Courses)

Lists

Concatenate CSV Files Selected by User (Main Courses)

String Manipulation

Concatenate CSV Files Selected by User (Main Courses)

User Input

Concatenate CSV Files Selected by User (Main Courses)

Using a Dialog Box to Create a Tailored Report (Main Courses)

Dialogs

Using a Dialog Box to Create a Tailored Report (Main Courses)

Accessing Information using REST/API – Getting Started (Desserts)

Expression Handling

Using a Dialog Box to Create a Tailored Report (Main Courses)

Running a Platform without Knowing the Number of Names of Columns (Desserts)

Associative Arrays

Accessing Information using REST/API – Getting Started (Desserts)

REST/API

Accessing Information using REST/API – Getting Started (Desserts)

 

The New Cookbook is meant to be a living document. In the coming months we will be adding more recipes, tagged topics, and resources links. We will use this blog as place to post questions and comments about the Cookbook. We would also like to encourage you to submit your recipe for inclusion into the Cookbook. We ask for the completed code and recipe instructions, similar to what you currently see attached to the recipes. The documents should be editable. You don’t have to record yourself performing the recipe.

 

That’s it for now. Hope you enjoy. Bon Appetit! 

Last Modified: Oct 10, 2022 9:54 AM
Comments
Peter_Vogel
Level II

Hi Don,

It is great to see that the JSL Cookbook II is now available and I am excited to read it. It looks however that so far no resource links have been added. Do you have specific dates in mind when the links will become available?

Peter

DonMcCormack
Staff

Hi @Peter_Vogel! On the right hand side of the main Cookbook page, I see a list of resources. Are you not seeing them?

Peter_Vogel
Level II

Hi Don, 

you are referring to this page as the main cookbook page, right? I was looking for this link within this post and within the JSL cookbook blog, but did not find it and did not realize the cookbook it is highlighted at the top under community. On the main cookbook page, I do find all the resources you mentioned, but you might want to add the link to the cookbook in the body of your post.

Thank you,

Peter 

 

DonMcCormack
Staff

Thanks @Peter_Vogel. I've added links back to the Cookbook.