Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Dictionary Folder | Summary of Elements in this Folder | wm.tn.dictionary:getFieldDefinitions
 
wm.tn.dictionary:getFieldDefinitions
Retrieves profile field definitions. A profile field definition describes several aspects of a field-the field's name, data type, description, maximum length, default value, valid values, whether it is required, whether it is enabled or disabled, and to which field group it belongs.
Input Parameters
type
String (optional) Indicates whether you want to retrieve standard or extended profile field definitions. The following values apply:
*standard - Retrieves standard profile field definitions.
*extended - Retrieves extended profile field definitions.
*null - Retrieves both standard and extended profile field definitions
Output Parameters
definitions
Document list All the field definitions of the type specified: standard; extended or both. For flow programmers, each IS document (IData object) in definitions is represented by wm.tn.rec:FieldMetaData. For Java programmers, each field definition is a ProfileFieldMetaData object.