B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Dictionary Folder | Summary of Elements in this Folder | wm.tn.dictionary:updateFieldDefinition
 
wm.tn.dictionary:updateFieldDefinition
Updates the definition for an existing standard or extended profile field.
Input Parameters
definition
Object The field definition to be updated. The field definition must be a ProfileFieldMetaData object.
Output Parameters
None.
Usage Notes
For standard profile fields, you can only update the field's description and whether the field is required. For extended profile fields, you can update any data except the internal field ID. Do not use ProfileFieldMetaData.setFieldID to change this value.
Example
To disable an extended profile field, perform the following:
1. Invoke wm.tn.dictionary:getFieldDefinitions specifying extended for type.
2. Select the extended profile field that you want to disable from the returned array of ProfileFieldMetaData objects.
3. Using the Java API, call the delete method on the ProfileFieldMetaData object.
4. Save the changes to the field definition by invoking this service.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release