Field types

Field XML Element Specification

Parameter

Description

name

Field name. This name should be the same as Caption enabled in the SM/SC WSDL. This field is required.

type

Field type. Its value can be String/Number/Date/Single_Value_List/Multi_Value_List. This field is required.

readonly

Indicates whether the field is read-only. Its value can be true or false. This field is optional. Default is false.

required

Indicates whether the field is mandatory, recommended or optional. This field is optional. Default value for the field is optional.

length

The length of the field in the SM endpoint. This field is optional. The length is unlimited if not specified.

The configuration file is an XML file that provides Change/Problem field values to the SM adapter. These values include:

  • Field name (the caption of a field in the SM WSDL configuration form, such as Status, Priority)
  • Field types
    • String
    • Number
    • Date
    • Single_Value_List
    • Multi_Value_List
  • List types
    • Array (multi-value list)
    • Single-value list
  • For a value list, the mapping of the value in the database and the exposed caption (for a type other than a value list type, the adapter automatically determines the desired data type).