4.1

Table Of Contents
2 Right-click the Web view to publish and select Publish.
Orchestrator publishes the Web view at http://
orchestrator_server
:8280/vmo/
web_view_url_folder
/. The
IP address or DNS name of the machine on which the Orchestrator server is running is orchestrator_server. The
name of the Web view URL folder is web_view_url_folder.
File Structure of a Web View
When you develop a Web view, you must save the collection of Web pages and Web view components that
comprise the Web view to a working folder. The Web view working folder must conform to basic file-naming
and file-structuring rules.
You can name the working folder in which you develop the Web view pages and components any name that
is appropriate. The working folder must contain the following file and folder at its root.
<WebView_Folder>
\defaul
t.html
The home page of the Web view. All Web views must include a default.html
file at the root of the working folder.
<WebView_Folder>
\compon
ents\
Contains the JWC files and the associated HTML templates of the Web view
components. The components folder must be at the root of the working folder.
IMPORTANT If you create more than one Web view to run in the same Orchestrator server, you must save the
Web view components in subfolders inside the components folder, to avoid conflicts between identically named
componets. Alternatively, create all Web view components with a unique name.
The default.html file and the components folder are the only mandatory elements that a Web view must contain.
You can add other files and folders in the Web view folder and organize the files and folders in any way. You
can include HTML files that are not Web view component templates anywhere in the Web view folder.
Web View Home Page
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>
Table 9-1 provides descriptions of the contents of the Web view template default.html file.
Chapter 9 Developing Web Views
VMware, Inc. 293