HI,
I'm trying using below JSL to run a JMPclincal review template, but did not make it. here is the JSL:
JMPclinicalreviewAPI:openreviewtemplate("the path\xx.jmpcrt"); //this is to open the JMPclinical review template. this worked.
JMPclinicalreviewAPI:runallreports; // this is to run the reports in the template. failed. the error message in log: "the namespace "reportRefNS" is not defined in access or evalation of 'reportRefNS:linkAnalysisTableToADSLTable', reportRefNS:linkAnalysisTableToADSLTable/*###*/(objRefNS:dmd) / *###*/ . ......".
any ideas on this?
Best,
Baoyue
Hi Baoyue,
It should be related to the namespace of JSL statements, although I haven't completely figured out the backend mechanism, but the following statements tested fine on my computer.
Names Default To Here( 1 ); // Required
JMPClinicalReviewAPI:openReviewTemplate( "$CLINICAL_HOME\ReviewTemplates\Medical Monitoring Template.jmpcrt" );
JMPClinicalReviewAPI:runAllReports();
You may look forward to Chris's next Blog on JMPCAPI, he is the expert of JMP Global on JMPC.
Hi @BaoyueLi ,
Which version of JMP Clinical are you using?
it is JMP clinical 8.1 and JMP 15.2.1
Hi Baoyue,
It should be related to the namespace of JSL statements, although I haven't completely figured out the backend mechanism, but the following statements tested fine on my computer.
Names Default To Here( 1 ); // Required
JMPClinicalReviewAPI:openReviewTemplate( "$CLINICAL_HOME\ReviewTemplates\Medical Monitoring Template.jmpcrt" );
JMPClinicalReviewAPI:runAllReports();
You may look forward to Chris's next Blog on JMPCAPI, he is the expert of JMP Global on JMPC.
that worked. thanks. I missed the first line. did not realize that it is so important here. :)
I'm reading Chris's blog on JMPCAPI, and that opens another door for me to generate reports automatically. Reallylooking forward to more updates.