FieldManagementCreate
Creates field management configuration data.
Usage
Use the FieldManagementCreate method to create custom fields.
The object is specified with the <ObjectName> child element of apData:CustomField. The field management data for the object is contained in elements similar to those of the apData:FieldManagement argument used by the FieldManagementUpsert method, see FieldManagementUpsert.
By specifying true for the <Optimized> element in the apData:CustomField argument, you can create an optimized custom field.
Several record types do not support regular custom fields of particular types, but do support optimized custom fields. These record types include:
Sales Assessment Template
Product Indication
Account Partner
Opportunity Partner
Opportunity Team
Account Team
Lead Team
Business Plan Team
Service Request Team
For example, Sales Assessment Template does not support regular custom Text (Long) fields but it does support optimized custom Text (Long) fields. For Web service requests to create such fields, you must explicitly specify true for <Optimized>, otherwise an error is generated. In the UI, the Optimized check box will be selected and disabled for such record types. As you cannot deselect the Optimized check box, you are forced to create the field as optimized.
Arguments
The following table describes the arguments taken by the FieldManagementCreate method.
Name | Description | Required | Default | I/O |
---|---|---|---|---|
apData:CustomField |
The field management query criteria. |
Yes |
Not applicable |
Input |
Status |
The status of the call. |
Not applicable |
Not applicable |
Output |
Return Value of the Call
The status of the call is returned.