-
Notifications
You must be signed in to change notification settings - Fork 83
Description
Description
The DataObjectSearchIndexConf metadata type cannot be retrieved using Salesforce CLI despite being a valid metadata type documented in the official Salesforce Metadata API documentation.
Steps to Reproduce
Create a package.xml manifest with the following content:
xml
*
DataObjectSearchIndexConf
65.0
Run the retrieve command:
bashsf project retrieve start --manifest package.xml --target-org [YOUR_ORG_ALIAS]
### Expected Result
The metadata should be retrieved successfully as `DataObjectSearchIndexConf` is a documented metadata type.
### Actual Result
The command fails with the following error:
Error (RegistryError): Missing metadata type definition in registry for id 'DataObjectSearchIndexConf'.
Try this:
Did you mean one of the following types? [DataKitObjectDependency]
Confirm the metadata type name is correct. Validate against the registry at:
https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json
Environment
Salesforce CLI Version: 2.108.6 (latest available: 2.109.6)
API Version tested: 65.0
Evidence of Valid Metadata Type
Official Documentation: DataObjectSearchIndexConf is listed in the official Salesforce Metadata API Developer Guide (versions 64.0 and 65.0) on page 816/782 respectively.
Metadata Coverage Report: The metadata type has its own documentation page at:
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_dataobjectsearchindexconf.htm
Listed in Metadata Types: It appears in the official metadata types listing at:
https://developer.salesforce.com/docs/success/metadata-coverage-report/references/metadata-types/v62.0
Root Cause
The DataObjectSearchIndexConf metadata type is missing from the source-deploy-retrieve registry at:
https://github.com/forcedotcom/source-deploy-retrieve/blob/main/src/registry/metadataRegistry.json
This appears to be a gap where the metadata type has been added to Salesforce and documented in the Metadata API, but the CLI tooling registry hasn't been updated to include it yet.