4.0

Table Of Contents
vmo:WebformContainer Component
The vmo:WebformContainer component adds a Web form to a Web view, for users to complete when they run
a worfklow or to allow users to provide information to a workflow during its run.
Properties
The vmo:WebformContainer component defines no properties.
You can use the vmo:WebformContainer component with the vmo:WorkflowLink component.
Example: vmo:WebformContainer Component
To add a vmo:WebformContainer component to a Web view, you must also include a
vmo: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="@vmo:IncludeWorkflowHeader"/>
</head>
<body jwcid="@Body">
<span jwcid="@WebformContainer"/>
</body> </html>
vmo:WorkflowLink Component
The vmo: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 vmo: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.
Chapter 9 Developing Web Views
VMware, Inc. 307