Show HTML
Use this command to display an .html page. This command is specific to Longview Apps.
Note:
- Show HTML does not support HTML5.
- You cannot use the Show HTML command in batch mode.
Syntax
SHOW HTML FileName [[CONTINUE]|[Width Height]]
where:
- FileName is the name of the .html file to display. The default path is the path specified in the <rootpath> tag of the .lvapp file. If no root path is specified, the system assumes the root path is the applications folder in the working directory.
- CONTINUE is optional. It displays the .html page and then continues with the procedure. This parameter is useful for items that do not require user input such as status indicators. If you do not specify this parameter, the Longview App displays the .html page and halts the procedure until the user initiates an interaction with the page.
- Width can be specified only if you do not specify CONTINUE. It specifies the width (in pixels or as a percent of the window) of any content opened in a window. Indicate a percentage with a percent ( % ) sign. If you do not use a percent sign, the parameter is assumed to be in pixels. The default is 800 pixels. If you specify WIDTH, you must also specify HEIGHT.
- Height can be specified only if you do not specify CONTINUE. It specifies the height (in pixels or as a percent of the window) of any content opened in a window. Indicate a percentage with a percent ( % ) sign. If you do not use a percent sign, the parameter is assumed to be in pixels. The default is 600 pixels. If you specify HEIGHT, you must also specify WIDTH.
Syntax example
SHOW HTML "SalaryPlanning/SalaryPlanningMain.html" 1647 1000
Syntax example
SHOW HTML "SalaryPlanning/SalaryPlanningMain.html" CONTINUE