Form

Note: This variable type was deprecated in LiveCycle ES2.

A complex data type that you can use to store XML data and the location of a file in the repository.

Form variables are typically used in human-centric processes where a Flex application (SWF file) is used as a form. The variable stores the location of the Adobe Flex application (SWF file) and the XML data that is captured with the application.

By default, the render service that is used for Form variables is the Read Resource Content operation that the Repository service provides. The service retrieves the Adobe Flex application from the repository.

No default submit service is configured.

For information about how to configure the General and Enduser UI Items properties, see Common variable properties .

For information about data that can be accessed using Xpath Expressions, see Data items .

For information about configuring default properties, see Datatype specific settings .

For information about configuring properties for the render and submit services, see Advanced settings .

For information about configuring schema settings, see Schema settings .

Data items

The data items that Form variables contain.

data

XML data that is associated with the form. The data items that are below this node depend on the data schema of the Adobe Flex application.

formUrl

A string value that represents the URL of an Adobe Flex application (SWF file) that resides in the repository. The value is set using the URL property of this variable. However, you could set the value using XPath expressions at run time.

Datatype specific settings

Properties for specifying the form and initial form data.

URL

The URL of the Adobe Flex application that is associated with the form data that this Form variable holds. The Adobe Flex application must reside in the repository. This value is stored in the formUrl data item.

Default Data

(Optional) Form data to use to populate the Adobe Flex application if no other data is stored in the variable. This data is stored in the data data item.

Advanced settings

Properties for configuring the render and submit services.

Render Service

Properties for configuring the render service, which processes the form data before it is sent to Workspace.

Enable Render Service

Determines whether the form data is rendered upon task creation. When selected, a render service is used. When not selected, no processing of the data is performed before it sent to the client.

This option is selected by default.

Service Name and Operation Name

The service and operation to use to render the form and form data that the variable holds.

The default service is RepositoryService, and the default operation is readResourceContent.

Service Input

The input properties of the operation that is selected as the render service. The properties that appear depend on the render service that is selected.

The default value of each of the properties is determined by the Assign Task operation from the User service that uses the Form variable as its input form.

Service Output

The output properties of the operation that is selected as the render service. The properties that appear depend on the render service that is selected.

For information about the input and output properties for the specified render service, see Service reference . For information about the default render service, see Read Resource Content operation .

Submit Service

Properties for configuring the submit service, which processes the form data after it is submitted by the end user.

Enable Submit Service

Determines whether the form data is processed after the form is submitted. When selected, a submit service is used. When not selected, no processing of the data is performed after it is submitted.

This option is not selected by default.

Service Name and Operation Name

The service and operation to use to process the form data after it is submitted. There is no default submit service.

Service Input

The input properties of the operation that is selected as the submit service. The properties that appear depend on the submit service that is selected.

Service Output

The output properties of the operation that is selected as the submit service. The properties that appear depend on the submit service that is selected.

For information about the input and output properties for the specified submit service, see Service reference .

Schema settings

The XML schema that the Adobe Flex application data conforms to. The schema enables XPath Builder to represent the data in the process data model at run time. Seeing the form data in the model is useful for creating XPath expressions using XPath Builder.

Click Schema Settings to view the schema or select a schema file from the local file system.

// Ethnio survey code removed