4.1

Table Of Contents
10 Verify that your Web view's URL folder value matches the name of your working directory.
For example, if you created the working folder C:\Documents and
Settings\
username
\Desktop\MyWebView\, set the URL folder to MyWebView.
a If the Web view is running, right-click the Web view and select Unpublish.
b Right-click the Web view and select Edit.
c On the General tab of the Web view editor, type the name of the working folder in the URL folder
text box, and click Save and Close to close the Web view editor.
11 Right-click the Web view and select Publish.
You set the Orchestrator server to Web view development mode, in which you can preview a Web view from
your working folder while you develop it.
Import Web View Files from a Working Folder
After you edit the files of a Web view in the working folder, you must import them back to the Web view in
the Orchestrator server.
Prerequisites
Verify that you exported the files of a Web view to a working folder and edit them using Web development
tools.
Procedure
1 Click the Web Views view in the Orchestrator client.
2 Right-click the Web view in the Web view list and select Edit.
3 Click the Elements tab in the Web view editor.
4 Click Import from directory.
5 Select the working folder in your local system from which to import the modified Web view files and click
Import.
6 Click Save and Close to exit the Web view editor.
You imported to the Web view in the Orchestrator server the Web view files that you modified on your local
system.
What to do next
Create Web view attributes.
Create a Web View Attribute
With Web view attributes, you can pass objects to Web view components. The functions that the Web view
components define act on these objects to perform the orchestration actions that you run from the Web view.
A Web view attribute can be an object of any type that the Orchestrator API supports. For example, a Web
view attribute can be a VC:VirtualMachine object. A Web view component can define a function that requires
this object as an attribute. For example, when a user clicks a button in a Web view, a Web view component
associated to that button runs a workflow that starts a virtual machine. A Web view attribute provides the
virtual machine object to the workflow that the Web view component starts.
Prerequisites
Create or import a Web view in the Orchestrator client.
vCenter Orchestrator Developer's Guide
290 VMware, Inc.