JSL for making a study current study in JMP ClinicalHi,
I'm wondering if there is study management API for making a study as current study in JMP clinical. The "JMPClinicalBatchConfiguration" seems relevent here but I do not know how to set up.
Best,
Baoyue Li
Automation and ScriptingRe: JSL for making a study current study in JMP ClinicalHello Baoyue!
If you are interested in running a JSL script within JMP Clinical that sets the current study, you can use this function:
JMPClinicalStudyManagerAPI:setCurrentStudy(<STUDY name="">);</STUDY>
where is a string that is the name of the study you want to make active.
You can read more about the API here:
The JMPClinicalBatchConfiguration you reference above is an environment variable that you can set prior to launching JMP Clinical and it will make that configuration be the active configuration. There is also the JMPClinicalBatchCurrentStudy environment variable that will set the current study. Again, that variable has to be set prior to launching JMP Clinical.
I hope this helps.
Drew
Re: JSL for making a study current study in JMP ClinicalMany thanks Drew. I got the JMP Alert "the symbol 'setCurrentStudy' is not defined in namespace 'JMPclinicalstudyManagerAPI'{3501} in access or evaluation of 'JMPclinicalstudymanagerAPI:setCurrentStudy', ..."
I've read through the link you provided but there's no command for setting current study there.
also, I'm using JMP clinical 8.1 and JMP 15.2.1
Best,
Baoyue