Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Profile Folder | Summary of Elements in this Folder | wm.tn.profile.create:newExtendedFields
 
wm.tn.profile.create:newExtendedFields
Creates an extended field with no value.
Input Parameters
group
String The group of extended fields to create. Valid values are:
*Corporate Creates all extended fields in the Corporate group.
*Contact Creates all extended fields in the Contact group.
*Delivery Creates all extended fields in the Delivery group.
*Address Creates all extended fields in the Address group.
*ID Creates all extended fields in the ID group.
*the name of another group - Specify the name of other groups that you previously created using the wm.tn.dictionary:addFieldGroup service. This service creates all extended fields for the group you specify.
*(null) Creates all extended fields for all groups (if you do not specify group).
Output Parameters
fields
Document List A list of extended fields. The fields have no values. For the structure of each IS document type (IData object) in the fields IS document list, see wm.tn.rec:Field. For Java developers, this is an instance of a com.wm.app.tn.profile.ExtendedProfileField.
Usage Notes
*Each extended field returned by this service contains a fully initialized wm.tn.rec:FieldMetaData. You must specify the internal ID field, PartnerID, to identify the profile to which to add the extended field. Map or hard code a value into each Value field before saving the list of extended fields to the Trading Networks database.
*You cannot save extended fields with a new profile. You must save the profile first; then you can save the extended fields.