Harness and Section forms
|
![]() |
When you build a Pega composite application with Internet Application Composer, you embed the application on an external Web page as a gadget in a <DIV > element. A Data Field is an invisible field that makes the value of a scalar, single-value property from the composite application available to the external page. For example, say you want to display the operator's organization in a heading at the top of the external Web page. In such a case you add a Data Field for .pyOrganization to the harness or one of the sections or flow actions.
The external page hosting a composite application can access only those properties that are represented by a Data Field control somewhere in the harness displayed by the <DIV >. The values of these properties are read-only.
Click the down-arrow at the right end of the Advanced control group and select the Data Field control. Drag the control to the cell or header that is to contain the property value. When the pointer changes shape to indicate that a single cell is selected, release the mouse button to drop the control.
If you drop the control into a cell that already has contents, it replaces the current contents of the cell.
Clickicon to display the Cell Properties panel.
Field |
Description |
![]() |
(Appears only when this field is in a section included within the current open rule.) Click to open the section that immediately contains the field. |
Property |
|
Label | Check the check box to use the default label for the property; or uncheck it and, in the field that appears, select or create a label. |
Label format | Select a format from the available options. |
Default value |
Click
|
Visibility | Select to determine when the property value is to appear. Always is the default. (If this setting is not applicable, the cell contents are blank.)
Check the Reserve space when hidden check box, if it appears, to have a blank area appear in the section when the paragraph is hidden.
|
Disable |
Select one of the available options:
|
Required |
Appears only for fields in cells on flow actions and sections.
Select to require that when the form appears at runtime in read-write mode, users cannot successfully submit the form if the field is blank.
![]() ![]() For sections, checking this box enables client-side format validation when this section is part of a harness form that has the Enable Client Side Validation box selected on the HTML tab. At runtime, users who leave this field blank and submit the form are notified immediately that the field is required; the form is not transmitted to the server. |
Check the Required check box to make this a required field.
Field |
Description |
Edit Options | Select an edit mode for this control. The edit mode of the control, specified here, takes precedence over section and harness settings.
|
Advanced Options |
Appears only when you select the Display advanced presentation options check box. Note: As a best practice, define custom styles in the skin.
|
There are no parameters to set.
See Actions.