4.2
Table Of Contents
- Using VMware vCenter Orchestrator Plug-Ins
- Contents
- Using VMware vCenter Orchestrator Plug-Ins
- Introduction to Orchestrator Plug-Ins
- Using the vCenter Server 4.1 Plug-In
- Using the vCO Library Plug-In
- Using the Database Plug-In
- Using the SSH Plug-In
- Using the XML Plug-In
- Using the Mail Plug-In
- Using the Net Plug-In
- Using the Enumeration Plug-In
- Index
XMLNodeList Class
The XMLNodeList class is the main class for node lists.
The XMLNodeList class defines the following attribute.
Attribute Returns Description
length Number
The length of a list
The XMLNodeList class defines the following method.
Method Returns Description
item(number):Object Object
Retrieves a child node at index.
Running the XML Plug-In Sample Workflows
You can run the XML plug-in sample workflows from the Orchestrator client to create and modify XML
documents for testing purposes.
Because the workflows can create, read, or modify files, you must have sufficient access rights to the working
directory.
Orchestrator has read, write, and execute rights to a folder named orchestrator, at the root of the server system.
Although workflows have permission to read, write, and execute in this folder, you must create the folder on
the server system.
You can allow access to other folders by changing the settings for server file system access from workflows
and JavaScript. See Administering VMware vCenter Orchestrator, Setting Server File System Access from Workflows
and JavaScript.
Create a Simple XML Document
You can run a workflow from the Orchestrator client to create a simple XML document for testing purposes.
Prerequisites
n
The XML plug-in must be enabled from the Orchestrator configuration interface.
n
You must be logged in to the Orchestrator client as a user who can run XML workflows.
n
Verify that you created the c:/orchestrator folder at the root of the Orchestrator server system or set
access rights to another folder.
Procedure
1 Click the Workflows view in the Orchestrator client.
2 In the workflows hierarchical list, open Library > XML > Samples XML (Simple) to navigate to the Create
a simple XML document workflow.
3 Right-click the Create a simple XML document workflow and select Start workflow.
4 Type the filepath to the XML document to create.
For example, c:/orchestrator/
filename
.xml.
5 Click Submit to run the workflow.
The workflow creates an XML document that contains a list of users. The attributes for each entry are user
ID and name.
Chapter 6 Using the XML Plug-In
VMware, Inc. 53