5.2 Data Block Fields
This topic describes the data block fields.
Data Block Fields are logical representation of the data source columns in the
screen. Block fields can be added to a block either by: By selecting add fields option
from the right click menu of the particular data block or By clicking on add field icon
on the top left of data block screen.
The screen as shown below is launched. ODT provides option to add two kinds of
fields.
Figure 5-6 Adding Block Field to a Data Block
- Data Source Fields: These fields correspond
to data source columns created in the radxml. The select list provides the list
of all data sources attached to the data block. On selecting a particular data
source, all the data source columns which are not yet mapped to any block
fields.
Figure 5-7 Adding Data Source Fields to Data Block
- UI Fields: UI fields are those which don’t have a corresponding data source column .These fields won’t be required as part of processing and hence won’t be part of request or response xml. Usually fields like buttons, images, labels etc are defined as UI fields A control data block can have only UI fields. Adhere to the following conventions while defining new block field.
- Field Name should not be the same as the column name. This is important as field name will be visible in request and response xml.
- Avoid special characters in the field name (like underscore).
Example: if data source column name is CONTRACT_REF_NO, block field name can be CONTREFNO Provide the properties for the block field added.
- Field Name
This topic describes the field name. - Field Label
This topic describes the field label. - XSD Tag
This topic describes the xsd tag. - XSD Annotation
This topic describes the XSD Annotation. - Display Type
Display Type
Parent topic: Data Blocks