4.2.1

Table Of Contents
Access the Orchestrator API Explorer 108
Use the Orchestrator API Explorer to Find Objects 108
Writing Scripts 109
Add Parameters to Scripts 110
Accessing the Orchestrator Server File System from JavaScript and Workflows 111
Accessing Java Classes from JavaScript 111
Accessing Operating System Commands from JavaScript 112
Exception Handling Guidelines 112
Orchestrator JavaScript Examples 113
Basic Scripting Examples 113
File System Scripting Examples 115
LDAP Scripting Examples 116
Logging Scripting Examples 116
Networking Scripting Examples 116
Workflow Scripting Examples 117
3
Developing Actions 119
Reusing Actions 119
Access the Actions View 119
Components of the Actions View 120
Creating Actions 120
Create an Action 120
Find Elements That Implement an Action 121
Action Coding Guidelines 121
4
Creating Resource Elements 123
View a Resource Element 123
Import an External Object to Use as a Resource Element 124
Edit the Resource Element Information and Access Rights 124
Save a Resource Element to a File 125
Update a Resource Element 125
Add a Resource Element to a Workflow 125
Add a Resource Element to a Web View 126
5
Creating Packages 129
Create a Package 129
Set User Permissions on a Package 130
Index 133
Contents
VMware, Inc. 5