All Web views must contain a file named default.html, that you must save at the root of the Web view working folder. The default.html file is the home page of the Web view.

The default.html file is the point of entry to a Web view. The default Web view template that Orchestrator provides contains a skeleton default.html file that you can adapt and extend. The following code extract shows the contents of the default.html file from the default Web view template.

<vco jwcid="@layout/MyBorder" section="literal: home" title="Home">
	<!--  Content of the homepage -->
		<h2 style="margin-left: 16px; margin-top: 0px; padding-top:18px;">
				Welcome to the default Web view template
		</h2>
		<p style="margin-left: 16px;">
				This Web view template is a base for your own Web view development.
		</p>
</vco>
Contents of the Web View Template default.html File

Code

Description

<vco></vco> tags

You can insert Web view components in any type of HTML tag. The Web view template wraps all its content in <vco> tags, to show that this code is specific to Orchestrator.

jwcid="@layout/MyBorder"

A reference to the MyBorder Web view component from the default Web view template. The MyBorder component defines the borders of the Web view pages.

title="Home"

The title that appears in the title bar of the Web view home page.

The rest of the code in the default.html file is standard HTML. You can extend and adapt the content of the home page by adding HTML code and add functions to the page by adding Web view components.