I used the following example of create a project:
project = New Project(); project << Run Script( dt = Open( "$SAMPLE_DATA/Big Class.jmp" ); dt << Run Script( "Bivariate" ); dt << Run Script( "Distribution" ); );
Now when I use publish, I get the web report with Distribution and Bivariate plot. How do I add data table as well? Thanks for your help.
Unless I'm confused your script is calling for creating a new JMP project while your narrative text says you want a web report. Web reports and JMP projects are separate and distinct capabilities. If you truly want a JMP project the data table will follow along with the report elements and other project elements you may want to include like Excel files, PowerPoint presentations, etc. In JMP 14 it's super easy...create all your project elements, then from any JMP main menu bar, select Window -> Move to Project. The project will populate and now you can save it as it's own distinct project. Different workflow for a JMP Web Report.
Thanks for the comments. My goal is to get a web report from saved projects. I notice that the data table is not listed in web report.
I use publish right after I created the project. Can I add the data table in web report? Thanks
Try creating a New Window() and journaling the data table to it.
project = New Project(); project << Run Script( dt = Open( "$SAMPLE_DATA/Big Class.jmp" ); dt << Run Script( "Bivariate" ); dt << Run Script( "Distribution" ); new window("my report", dt<<journal); );
Thanks Jeff. It works except that the data table is truncated. Is there a way to avoid the truncation when it is published?
Thanks for your help.
Thanks Jeff. The rows can be scrolled but columns are truncated to just few. I have 127 columns. Is there a limit in number of columns?
It will journal only the selected columns. Make sure you clear the column selection before the Journal command.
Thanks Jeff. I cleared the column and when I publish it, I get an HTML and when I try to open the data table, it keeps asking whether I want to wait or continue. I have 127 columns and previously, with 5 columns were Ok. Any suggestions? Thanks
There are no labels assigned to this post.