LiveCycle Workbench ES Help | |||
| Creating Processes > Managing event types > Setting up templates for event data and messages | |||
When you create an event type, you specify a template for event data and for event messages. These templates define the data navigation trees that are displayed in the event configuration dialog boxes, and determine how you can filter events and the data that can be mapped when events are thrown.
You can create or modify a template directly in the Event Type Properties dialog box or you can create it elsewhere and then import it as an XSD file. You can also use a similar existing template from another event type as a starting point. The template must adhere to standard XML syntax rules.
When you create an event data or message template and save the event type, the template is available immediately for all events in process diagrams of that event type, and the data trees are visible in event configuration dialog boxes.
For example, consider the following partial event data template:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xs:element name="PurchaseOrderEventTemplate">
<xs:complexType>
<xs:sequence>
<xs:element name="PONumber" type="xs:short"/>
<xs:element name="Sender" type="xs:string"/>
<xs:element name="PartNumber" type="xs:long"/>
<xs:element name="Quantity" type="xs:long"/>
...
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
That template results in the following data navigation tree in all related event configuration dialog boxes.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/wb_help/00000636.html