Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | IS Document Types | Summary of Elements in this Folder | wm.tn.rec:FieldMetaData
 
wm.tn.rec:FieldMetaData
Information about a profile field. wm.tn.rec:FieldMetaData is a component of wm.tn.rec:Field. All profile fields have metadata. You define the metadata for extended fields when you define profile fields using My webMethods.
Variables
GroupID
Object The field group to which the field belongs. GroupID is a java.lang.Integer. Specify one of the following values to indicate one of the built-in groups that Trading Networks provides. Valid values are:
*1 - Corporate group
*2 - Contact group
*3 - Delivery group
*4 - Custom group
*5 - ID group
*6 - Address group
You can extend the set of built-in groups by using wm.tn.dictionary:addFieldGroup.
MaxLength
Object The maximum length for the field's value. A value of -1 indicates there is no maximum length. MaxLength is a java.lang.Integer.
Extended?
Object Whether the field is an extended field. Extended? is a com.wm.data.MBoolean. You do not need to set the value of this field. All fields that you create are extended fields. Any value in this field is ignored.
Required?
Object Whether the field is required. Required? is a com.wm.data.MBoolean. Setting this to true causes Trading Networks to fail validation of the field if the field's value is null.
Registration?
Object Not currently used.
Deleted?
Object Whether the field is deleted. Deleted? is a com.wm.data.MBoolean. You cannot use My webMethods or any services to physically remove an extended field from the database. You can set this to true to mark a field deleted. When a field is marked as deleted, Trading Networks no longer displays the field in any profiles. This value applies only to extended fields.
ValidValues
String (optional) A concatenation of all valid value strings for this profile extended field delimited by "|~~|". This value applies only to extended fields.
DefaultValue
String (optional) Default value for profile extended field. This value applies only to extended fields.
Datatype
String Describes the data type of the value for the field. For extended fields, the value is one of the following:
*String
*Binary
Changing this value for standard fields has no effect.
Name
String (optional) The name of the field. This value applies only to extended fields.
Table
String (optional) The name of the table in the Trading Networks database in which this field resides. This value applies only to standard fields.
Column
String (optional) The name of the column in the Trading Networks database in which this field resides. This value applies only to standard fields.
Description
String (optional) A description of the meaning and/or purpose of the field.
ProfileFieldID
String An internal identifier of the profile field.
Displayable?
Object Indicates whether Trading Networks should display the field in My webMethods. This value applies only to standard fields.