Show TOC Start of Content Area

Procedure documentation Adding Content to Schema-Based Templates  Locate the document in its SAP Library structure

Use

For schema-based forms you generate form templates at design time using the form context.

You can simply drag and drop a form context entry into the form template to create the relevant input field. The association between the field and the form context entry is automatically maintained.

Prerequisites

      If you want to build a template based on logical criteria, you must have created the logical criteria objects in advance.

For more information, see Creating Logical Criteria.

      To create new templates during this procedure, you must have installed on your computer the ActiveX controls that enable you to open the Adobe LiveCycle Designer in your Web browser.

Caution

The relevant ActiveX controls are only supported by Internet Explorer. Since they are officially signed, you can install them on your machine, unless the browser settings are such that prohibit installation of officially signed ActiveX controls.

For more information, see Security for Additional Applications.

Procedure

...

       1.      Build the form context for your composite form object.

For more information, see Building and Using a Form Context.

       2.      Make sure you are in the Logical Criteria step in the wizard for creating composite forms.

       3.      To add a single form template:

                            a.      Select Single Template from the Associate dropdown box.

                            b.      Choose Add Template.

                            c.      Enter a template file name, such as MyFirstForm.

                            d.      Choose Create Template.

The Adobe LiveCycle Designer opens in a new Web browser window.

                            e.      To add the necessary fields to your form, expand Data Connection in the Data View panel, and select the parameter that you want to associate to the field. Then use drag and drop onto the form body pages. A new input field associated to the relevant parameter is added.

Repeat the procedure for all fields that you want to create.

Optionally, edit the field names or add custom fields.

Note

Adobe LiveCycle Designer provides the option for configuring complex data patterns on Date, Time, Date and Time, and Decimal fields. Whenever you upload a form template, the system parses these data patterns automatically to fit them in a format acceptable for GP. In case GP cannot resolve the pattern, you are prompted to correct it and re-submit the template.

                              f.      Finally, choose Save. Make sure you receive a confirmation message that your data is saved, then choose Close.

                            g.      If your system is configured with the Adobe Document Services back end, you can also add a translation.

                                                  i.       To do this, select the relevant language and choose Create Translation. This opens the Adobe LiveCycle Designer with the form in the original language.

                                                ii.       Translate the texts as required, and choose Save and then Close.

                            h.      Finally, choose Save.

       4.      To build a template based on logical criteria:

                            a.      Select Logical Criteria from the Associate dropdown box.

                            b.      Choose Add Criteria and browse the gallery to select the appropriate object.

To confirm your choice, choose Select.

                            c.      To build complex logical criteria, select an entry from the already imported one, and choose Add Criteria.

The new object is added as a child for the selected node.

                            d.      To add a physical template for each logical criteria node, select the node and choose Add Template.

                            e.      Use the procedure described in step 3 to either upload or create a template.

       5.      Optionally, you can map a form context parameter that comes from a pre- or post-processing service to the logical criteria nodes.

To do this, select a logical criteria node in the table on the left-hand side, then select a form context parameter in the table on the right-hand side, and choose Map to Node.

Caution

You cannot map structures and lists to logical criteria nodes.

If you have defined mappings, at runtime the physical form is rendered according to the parameter value. If mappings are not defined, the form is rendered by default logical criteria value. 

Note

Once you create the composite form, you can view template definitions and mappings on the Logical Criteria tab page of the form design time by choosing View Defined Mappings. You can also edit parameter mappings by toggling edit mode.

More Information

Logical Criteria

End of Content Area