{ "sections": [ "title", "description", "file_information", "directory_location", "fields", "sub_types", "wsdl_segment", "declarative_metadata_sample_definition" ], "title": "CleanDataService - Metadata API", "description": "Represents a data service that adds and updates data in standard objects.", "file_information": ".cleanDataService", "directory_location": "cleanDataServices", "fields_columns": [ "type", "description" ], "fields": { "cleanRules": { "type": "CleanRule[]", "description": "A list of data integration rules", "required": true }, "description": { "type": "string", "description": "A description of the data service", "required": true }, "masterLabel": { "type": "string", "description": "Label for this data service. Although this value is displayed, it’s an internal label for the data service and isn’t translated.", "required": true }, "matchEngine": { "type": "string", "description": "A key that maps to the internal data service identifier.", "required": true } }, "sub_types": { "CleanRule": { "bulkEnabled": { "type": "boolean", "description": "If this field is set to true, Salesforce applies the data integration rule to existing records whenever the rule is updated or saved.", "required": true }, "bypassTriggers": { "type": "boolean", "description": "If this field is set to true, Salesforce bypasses triggers when it applies the rule; otherwise, it applies triggers after it applies the rule.", "required": true }, "bypassWorkflow": { "type": "boolean", "description": "If this field is set to true, Salesforce bypasses workflow rules when it applies the data integration rule; otherwise, it applies workflow rules after it applies the rule.", "required": true }, "description": { "type": "string", "description": "User-friendly text that describes the data integration rule.", "required": true }, "developerName": { "type": "string", "description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. This unique name prevents conflicts with rules from other packages that have the same masterLabel. Note: Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.", "required": true }, "fieldMappings": { "type": "FieldMapping[]", "description": "A list of FieldMapping entries for the rule.", "required": true }, "masterLabel": { "type": "string", "description": "Label for this object. This display value is the internal label that is not translated.", "required": true }, "matchRule": { "type": "string", "description": "An internal label for a matching rule in the data service that’s associated with the CleanRule.", "required": true }, "sourceSobjectType": { "type": "string", "description": "A virtual object in the data service that is associated with the CleanRule. Specifying a non-existent object causes an error.", "required": true }, "status": { "type": "string", "description": "Status of the data integration rule. Valid values are Active and Inactive.", "required": true }, "targetSobjectType": { "type": "string", "description": "A standard object that’s the target of additions and updates specified by this CleanRule. Specifying an object that the data service does not support causes an error.", "required": true } }, "FieldMapping": { "developerName": { "type": "string", "description": "This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. This unique name prevents conflicts with field mappings from other packages that have the same masterLabel. Note: Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.", "required": true }, "fieldMappingRows": { "type": "FieldMappingRow[]", "description": "A list of FieldMappingRow entries. Each entry represents a field in a standard object that maps to a field in the data service.", "required": true }, "masterLabel": { "type": "string", "description": "Label for this object. This display value is the internal label that is not translated.", "required": true }, "SObjectType": { "type": "string", "description": "The standard object associated with this FieldMapping. Specifying an object that the data service does not support causes an error.", "required": true } }, "FieldMappingRow": { "fieldName": { "type": "string", "description": "The display name for the field represented by the FieldMappingRow." }, "fieldMappingFields": { "type": "FieldMappingField[]", "description": "A list of FieldMappingField entries. Each entry is a field in a standard object that maps to a field in the data service.", "required": true }, "mappingOperation": { "type": "string", "description": "The comparison operation the data service applies when it compares the value of this FieldMappingRow to the mapped field in the object specified in SObjectType. The value of this field is AutoFill, which indicates that the data service only adds data if the object field is blank." }, "SObjectType": { "type": "string", "description": "The standard object for the field mapped to the FieldMappingRow. Specifying an object that the data service does not support causes an error." } }, "FieldMappingField": { "dataServiceField": { "type": "string", "description": "A field in the data service that is mapped to this field.", "required": true }, "dataServiceObjectName": { "type": "string", "description": "An object in the data service that contains the FieldMappingRow associated with this FieldMappingField. Specifying a non-existent object causes an error.", "required": true }, "priority": { "type": "int", "description": "Represents the priority that the data service uses when it updates the field, relative to other update rules for the same field. Valid values are 1-100.", "required": true } } }, "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 \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 a CleanDataService component for the lead standard object.", "code": "\n\n \n false\n false\n false\n Adds data info to leads\n DataService_Leads_Enrichment\n \n DataServiceCompanyObject\n DataService_Leads_Enrichment_InputMapping\n \n DataServiceCompanyObject\n \n Email\n Lead\n 1\n \n Email\n Autofill\n \n \n DataServiceCompanyObject\n \n Company\n Lead\n 1\n \n Name\n Autofill\n \n DataServiceInputMapping\n \n \n Lead\n DataService_Leads_Enrichment_OutputMapping\n \n Lead\n \n EmployeesTotal\n DataServiceCompanyObject\n 1\n \n NumberOfEmployees\n Autofill\n \n \n Lead\n \n Revenue\n DataServiceCompanyObject\n 1\n \n AnnualRevenue\n Autofill\n \n \n Lead\n \n Industry\n DataServiceCompanyObject\n 1\n \n Industry\n Autofill\n \n DataServiceOutputMapping\n \n Data Service Company Info for Leads\n DataServiceLeadAppendMatchRule\n DataServiceCompanyObject\n Active\n Lead\n \n Data Service Companies for Leads\n Data Service Companies for Leads\n LeadEnrichmentMatchEngine\n" } ] }