Common Properties
Object Field
Object fields are configured on an object. Just click on the name of each object to see the different fields. Each object field has input settings and output settings. Input settings are used when the value is sent to the external system. Output settings are used when the value is retrieved from the external system.
Properties | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Id | This is a unique GUID which is used internally. | ||||||||||||||||||||
Name | The name of the field. | ||||||||||||||||||||
Label | The label of the field. Labels are multi language enabled and are used by the ADM, CM and synchronization module. | ||||||||||||||||||||
Description | Specify a description. Descriptions are only used internally. | ||||||||||||||||||||
Type | Specify the type of the field. It is important to choose the correct type, the framework will try to cast data to a .NET type. In short you could use the following guidelines: The external software application will always return:
|
||||||||||||||||||||
Value Type | Contains the .NET type of the selected type.
|
||||||||||||||||||||
Unique | Specify if the object field is unique. Each object must have a unique or primary key. | ||||||||||||||||||||
External Name | Specify the name of the field in the external software application. In most cases the external name is case sensitive. | ||||||||||||||||||||
Required | Specify if the field is required. Required fields must be filled in and will be validated by the Ometa BC before sending it to the external system. | ||||||||||||||||||||
Default Value | Specify a default value. Default values are only used if the field is empty in a CM or in create views. Default values are not used in multi record, single record and update views. | ||||||||||||||||||||
Conversion Script | Specify a conversion script. | ||||||||||||||||||||
Validation Script | Specify a validation script. |
View Field
Properties | Description |
---|---|
Id | This is a unique GUID which is used internally. |
Name | The name of the field. This could not be changed. |
Label | The label is inherited from the linked method. We advise not to break inheritance on view field or method field level. Change the label on object level. The label is used in the ADM and CM. |
Description | The description is inherited from the linked method. |
Hidden | Specify if the field is made hidden. Hidden fields are not displayed in the ADM and CM but they contains information and can be used as context. Unique fields (a.k.a. primary key) are often made hidden. |
Width | The width expressed in pixels in multi record and single record views. With create and update views there is the possibility to express the width in other lengths like percentage, ems, inches or centimetres. |