In the previous article we published "How to use JMP In the article "Make the visualization of the COVID-19 epidemic clearly shared and visible", we show you how to JMP Live or its free public version JMP Public General process for publishing reports. Although the manual release process is simple and clear, the current epidemic dynamic updates are measured at least in days, and some reports related to corporate operations are refreshed in hours. If each release is implemented manually, in addition to background data and In addition to efficient report updating, publishing operations are repetitive, trivial, and have low technical content. So, are there smarter publishing solutions that free us from low-value-added work hours and invest in higher-value-added work?
The answer is yes. In this issue, we will introduce to you some information through JMP Public I hope these tips for automatically publishing reports can help everyone improve efficiency.
But first things still need to be stated:
- Although this is a partial JSL article article, but we will focus on JSL The writing logic and key points should be carefully designed so as not to cause reading difficulties for everyone.
- If you can understand the following JSL Basic grammatical structure, then it is not difficult for you to understand this article.
object << Message (Argument); /* to an object (obj) send (<<) an instruction or information (Message) */
- Why Choose JMP Public To explain the carrier, the majority of readers are not JMP Live It is an official user, so it is not possible to experience it in actual combat. And with JMP Live The corresponding script writing will add some confidentiality settings on this basis, but the overall framework logic is consistent with this article. *.Note: JSL, JMP Scripting Language, is JMP’s unique scripting language
Then, in order to make it easier for beginners to understand, we will "How to use JMP Making COVID-19 Epidemic Visibility Sharing Clear and Visible" The published content in the original article was simplified to two single reports (Figure -1 ), namely "China Epidemic Map" and "Trend Chart of Confirmed, Death and Cured Cases".

Figure-1 JMP Public Release renderings
We directly publish the JMP Public report JSL The reference template frame is as shown in the figure -2 As shown, see the green remark information for each statement function.


Figure-2 JMP Public Publish reports JSL template frame
Next, in addition to the green remark information, we will make additional explanations on some of the key points:
- Include ("*.jsl")
Equivalent to a reference or call statement. Either via JMP Live or JMP Public Whether to publish reports or publish reports through other channels, the premise is that we have generated these reports to be published, and the numbers in brackets here are *.jsl is the script used to generate these reports. The script from the data source to generating the required report can be longer or shorter, so we have omitted this paragraph to simplify the script structure so that everyone can see it more clearly. JMP Live or JMP Public The overall logical framework of the publishing script.
If Figure-2 middle *.jsl Partially expanded, they are roughly as shown in the figure below (Fig. -3 ), its core function is to draw a picture using the "Graphic Generator" and name this graphical report gb01 .

image 3 Generate "China Epidemic Map" JSL script
- New Web Report ()
Simply put, New Web Report () It's a basket, and you can try to put anything in it. This container is used to host the report to be published and its related element collection. For example, index information (title and description, etc.) and various types of reports can be added to it.
- Index()
SetupWeb Index information such as the title and description of the report. in, description() can use HTML href Grammarly links to other websites. in the picture -2 of JSL , the description contains a link to the official website of the National Health Commission of China. in, link title Statements in the form make the link effective. It should be noted that in href You need to use escaped strings in parameters \!" . The link will then be in JMP Public is identified in the index information, clicking the link will jump to the corresponding address, or even another JMP Public Report.
- add report ()
<< add report () All reports and other elements to be published can be added to New Web Report () in the built container. If you need to add a new report, start a new line and write another sentence << add report () , and rerun the script.
- publish()
- URL() used to specify JMP Public The network address of the server.
- public (0 or 1) Define whether the published report is visible only to you or to the public. As in the picture -2 In the example of public (0) Make the published report visible only to you, so in Web A "lock" icon appears in the upper right corner of the page subreport. If you want to change it to be visible to everyone, set public (1) Just make it public.
- figure 2 Example of publishing a report for the first time JSL Template. If you want to replace the previously published report with the current published report, append a replace() The statement is enough, and the parameters are the ones you want to replace the report with. Package ID . so-called Package ID , that is, a unique code at the end of the URL of the published report, which is very easy to identify and copy. ID Just paste it into the red character.

- If () at the end statement is used to open the published Web report page, while Close All() Statements make the entire publishing process invisible.
- In other aspects, although this article will "How to use JMP Make the visualization of the COVID-19 epidemic clearly shared and visible" The dashboard report in the original article is simplified into two single report releases, but the idea is also applicable to the release of dashboard reports, only the report to be released is generated JSL The script will just be different. also, JMP Interactive features of reports will also be available in JMP Live or JMP Public of Web As much as possible is retained in the report.
- Finally, if your data source is updated regularly, then, through the above logic, we can already generate customized reports with one click and publish them to the designated JMP Public or JMP Live server. at this time, JMP The majority of fans may still have a little extravagant hope, that is: Can customized reports be automatically released on a rolling basis according to a customized cycle? The answer is also yes. We have previously published an article "Automated analysis runner to make your reports automatic" run " stand up ! 》 Article, just add //! to the beginning line of the script you write. string, the script can run automatically when it is opened, which to some extent will *.jsl The file is converted to an approximation *.exe document. Cooperate again Windows The task scheduler can open up the complete path of periodic automatic release of reports, so that the published reports can be updated in real time.
Predictably, with JMP The continuous updating of product series relies on JMP Information sharing with powerful statistical analysis capabilities will definitely make your statistical insights more valuable. In fact, this is indeed the case. More and more people JMP Users are exploring with us how to make full use of JMP Live Empower enterprises to instantly share and apply analysis results widely within the organization. If you are interested in the reports mentioned in this article, please go to JMP Public see more: https://public.jmp.com/packages/2019-nCoV-China-Confirmed-Cases/js-p/mPnfRyw57ZzMsB1yNQ1wN
P.S. : Reference to part of this article Daniel of Blog : 10 Useful Tips for Automatically Publishing JMP Live Reports . Thanks!