Creating Flex Applications Enabled for LiveCycle Workspace ES

This section explains how to develop Flex subapplications compliant with LiveCycle Workspace ES. As mentioned, we call these applications Flexlets. The Workspace activates Flexlets only when required to do so by the human-centric process conditions, which is why this chapter starts with describing the design of a sample process. For information about configuring human-centric processes, see the LiveCycle Workbench Help section and navigate to Creating Processes Designing Human-Centric Processes. Further reading on creating the Flexlets is available at http://help.adobe.com/en_US/livecycle/es/createflexapps.pdf.

Form Variable Declaration and Process Instantiation

When a human-centric process requires data entry from the participant, the workflow software pops up a dialog window. In the case of LiveCycle ES, the dialog is a PDF form or a Flexlet. From the programmer’s perspective, the outcome of the data entry is a variable of the XML-based type Form. A Form variable carries the data and can, optionally, reference the SWF of the Flexlet that enables end users to pass the form data to the Workspace. Do not forget that the Workspace passes similar form data to the Flexlet to initialize it. In other words, the form data travels back and forth between the Flexlet and the LiveCycle ES process, using the Workspace as a middleman. The Workspace loads the Flexlet in two use cases:

As part of interactive process instantiation

When ...

Get Agile Enterprise Application Development with Flex now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.