4.1

Table Of Contents
Example: vco:WebformContainer Component
To add a vco:WebformContainer component to a Web view, you must also include a
vco:IncludeWorkflowHeader component in the <head> tag of the Web view page, as the following example
shows.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<span jwcid="@vco:IncludeWorkflowHeader"/>
</head>
<body jwcid="@Body">
<span jwcid="@WebformContainer"/>
</body> </html>
vco:WorkflowLink Component
The vco:WorkflowLink component adds a link to a Web view to allow users to run a workflow. You can also
use this component to display a link to schedule a workflow.
Properties
The vco:WorkflowLink component defines the following properties.
Name Type Description
workflow
String Web view attribute of type Workflow.
action
String Web view attribute of type Action.
actionParameters
List A list of parameters for the action.
object
Object A Workflow object.
workflowId
String ID of the Workflow object.
returnUrl
String URL to which to redirect the user after
starting the workflow.The default is the
URL of the page that contains the
component.
onReturn
String Run a JavaScript method when the
workflow starts. For example, to display
information about the running
workflow in the Web view.
cancelUrl
String URL to which to redirect the user if they
cancel a workflow. The default is the
URL of the page that contains the
component.
onCancel
String Run a JavaScript method if the user
cancels the workflow.
isSync
Boolean If true, the workflow runs in
synchronous mode. Default is false.
returnUrlAttribute
String Workflow attribute containing a URL to
which to redirect users after the
workflow finishes its run. Default is
returnUrl.
vCenter Orchestrator Developer's Guide
308 VMware, Inc.