{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"sub_types",
"wsdl_segment",
"declarative_metadata_sample_definition"
],
"title": "LeadConvertSettings - Metadata API",
"description": "Represents an organization’s custom field mappings for lead conversion. Custom fields can be mapped from Leads to Accounts, Contacts, and Opportunities. Options for creating opportunities during lead conversion can also be specified. This type extends the Metadata metadata type and inherits its fullName field.",
"file_information": ".LeadConvertSetting",
"directory_location": "LeadConvertSettings",
"fields_columns": [
"type",
"description"
],
"fields": {
"allowOwnerChange": {
"type": "boolean",
"description": "Indicates whether to include the Record Owner field in the Convert Lead dialog box (true) or not (false)."
},
"objectMapping": {
"type": "ObjectMapping[]",
"description": "A set of custom field mappings between objects. Up to three objectMapping types can be declared—one each for account, contact, and opportunity."
},
"opportunityCreationOptions": {
"type": "VisibleOrRequired (enumeration of type string)",
"description": "This field determines whether the Opportunity field is visible or required in the Convert Lead dialog box.Values are: VisibleOptional—The Opportunity field is included in the dialog box but not required. A new opportunity is created if the user enters an opportunity name. This is the default value. VisibleRequired—The Opportunity field is included in the dialog box and is required. A new opportunity is created based on the name the user enters. NotVisible—The Opportunity field is not included in the dialog box. No opportunity is created."
}
},
"sub_types": {
"ObjectMapping": {
"inputObject": {
"type": "string",
"required": true,
"description": "The name of the object type containing the source fields for mapping. The value is always Lead."
},
"mappingFields": {
"type": "ObjectMappingField[]",
"description": "A set of input and output field names of the custom fields to be mapped."
},
"outputObject": {
"type": "string",
"required": true,
"description": "The object type receiving data during lead conversion. Account Contact Opportunity"
}
},
"ObjectMappingField": {
"inputField": {
"type": "string",
"required": true,
"description": "The name of a custom lead field supplying source data during lead conversion."
},
"outputField": {
"type": "string",
"required": true,
"description": "The name of a custom account, contact, or opportunity field that will receive data from source field named in the accompanying inputField entry."
}
}
},
"wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n\n\n \n \n \n\n\n \n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n \n\n```",
"declarative_metadata_sample_definition": [
{
"description": "The following is an example of the LeadConvertSettings type:",
"code": "\n\n false\n \n Lead\n \n custom_lead_field_1\n custom_account_field_1\n \n \n custom_lead_field_2\n custom_account_field_2\n \n \n custom_lead_field_3\n custom_account_field_3\n \n Account\n \n \n Lead\n \n custom_lead_field_4\n custom_opportunity_field_1\n \n Opportunity\n \n VisibleOptional\n"
}
]
}