Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Dictionary Folder | Overview
 
Overview
Use the dictionary services (services in the wm.tn.dictionary folder) to create, retrieve, update, and delete profile fields and field groups. In addition, use these services to look up data, for example, contact types, ID types and binary types.
You can use the dictionary services to extend the standard profiles that are provided. The following table lists items that you can extend:
Item
Description
Profile Fields
You can define extended profile fields to extend the information that Trading Networks maintains in profiles beyond the standard fields. A profile includes the standard fields and the extended fields that you define. To define custom fields, use the wm.tn.dictionary:addFieldDefinition service. Trading Networks displays the extended field in profiles in My webMethods for all profiles. For more information about working with field definitions, see webMethods Trading Networks Administrator’s Guide. For flow programmers, the structure of an extended profile field is defined by the wm.tn.rec:FieldMetaData IS document type. For Java programmers, an extended field definition is a ProfileFieldMetaData object. See the Java API documentation for details.
Field Groups
Each profile field (standard and extended) belongs to a field group. When you define a new extended field, you must specify the group to which the field belongs. Some field groups are provided but the list of field groups is extensible. Use the wm.tn.dictionary:addFieldGroup service to define additional field groups. You can associate extended fields with the field group. You can select the group programmatically using a built-in service, or by using My webMethods.
Contact Types
Two types of contacts are pre-defined: Administrative and Technical. You can add more contact types to the list using the wm.tn.dictionary:addContactType service.
External ID Types
A standard set of external ID types (for example, DUNS, DUNS+4, and User Defined 1) are provided. You can define more external ID types to the list using the wm.tn.dictionary:addIDType service.