For the latest version of JMP Help, visit JMP.com/help.


Publication date: 11/10/2021

HTML 5

Web Report

webreport<<Publish(<Add Image(...)>, <Add Report(...)>, <Add Reports(...)>, <Public(Boolean)>, <Index(...), <User Name(...)>, <Password(...)|password function)>, <Prompt("IfNeeded"|"Always"|"Never")>, <URL(...)>, <Publish Data(Boolean)>, Replace(<id>, Prompt("IfNeeded"|"Always"|"Never"))>)

Description

Publishes the web report to the JMP server.

Returns

On success, the URL of the published report is returned.

Optional Arguments

Add Image

Inserts an image at the top of the index page. Valid formats are "png", "bmp", "jpeg", "jpg", "tiff", and "tif". Title and Description are optional. Title appears above the image. Description appears below the image. Use File(filepath) or just a quoted string. Here is an example:

webrpt << Add Image( File( "C:\Users\Public\JMP\Projects\WebJMP\atlas.jpg" ), Title( "Atlas" ), Description( "Holding up the world as always." ) );

Add Report

Adds a report to publish within the web report.

Public(Boolean)

Specifies whether the public has access to the report. By default, the report is private.

Index

The name of the index page for multiple reports. You can also specify the description.

User Name

Specifies the user name registered on the JMP server.

Password

Specifies the user’s password. You can also define a password function.

Prompt

Displays a window in which the user types the server URL, user name, and password.

URL

The location that you are publishing to.

Publish Data(Boolean)

Includes the data in the HTML. Reports contains static rather than interactive images. In a public report, you might not want to share the data.

Replace

Replaces the report. Get the URL from the address field in the browser where the page is displayed.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).