4.1

Table Of Contents
Contents of the Default Web View Template
After you export the Web view to your working folder, you can examine the contents of the default Web view
template.
The default_webview Web view template contains the following files:
default.html
Home page of the default Web view template.
components\layout\Acces
s.jwc
JWC component that provides a login function.
components\layout\Acces
s.html
HTML template that defines how the login component appears in the browser.
components\layout\Menu.
jwc
JWC component that specifies menu tabs for the default Web view.
components\layout\Menu.
html
HTML template that you edit to add menu tabs to the default Web view.
components\layout\MyBor
der.jwc
JWC component that defines the borders of the default Web view, sets its name,
loads the logos and stylesheets, and so on.
components\layout\MyBor
der.html
HTML template that defines how the borders appear in the browser.
css\border.css
CSS style sheet that renders the border component.
css\custom.css
Customizes other stylesheets, such as border.css or login.css. Every page of
the default Web view imports the custom.css file. The custom.css file overrides
the other style sheets in the template.
NOTE The custom.css style sheet is the only style sheet you can edit. If you
edit the other style sheets directly rather than editing custom.css, your edits
are overwritten every time you upgrade to a new version of Orchestrator.
css\login.css
CSS style sheet that renders the login component.
images\
Contains image files for the banners, logos, and icons that appear in the default
Web view.
Provide Unique Component Names
To avoid conflicts if you run multiple Web views in the same Orchestrator server, you must make sure that all
Web view components have unique names.
You can ensure that Web view components have unique names either by moving the components into a unique
subfolder in the \components folder, or by changing the names of the Web view components. Because the Virtual
Machine Manager example uses only one component from the template, the easiest solution is to rename the
component.
Prerequisites
Export the contents of the Web view template to a working folder.
Procedure
1 Navigate to the \components\layout folder in the working folder.
For example, \MyWebView\components\layout.
vCenter Orchestrator Developer's Guide
316 VMware, Inc.