-
Notifications
You must be signed in to change notification settings - Fork 83
Description
Summary
It is retrieving via the workbench successfully and attaching that metadata.
retrieve_09SPl00000Ns9M1MAJ.zip
zip file for [reference.]
Ran this command via VSCode SF CLI
Command: sf project retrieve start --metadata "AccountPlanObjMeasCalcDef:Opportunity_Renewals_Growth,Opportunity_Revenue_Targets"
Error (RegistryError): Missing metadata type definition in registry for id 'AccountPlanObjMeasCalcDef'.
Try this: Did you mean one of the following types? [AccountingFieldMapping,AccountingModelConfig,ActionPlanTemplate]
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
If the type is not listed in the registry, check that it has Metadata API support via the Metadata Coverage Report:
https://developer.salesforce.com/docs/metadata-coverage
If the type is available via the Metadata API but not in the registry
- Open an issue https://github.com/forcedotcom/cli/issues
- Add the type via PR. Instructions: https://github.com/forcedotcom/source-deploy-retrieve/blob/main/contributing/metadata.md
Expected result
We expect it to retrieve this component as we looked at the metadata coverage doc and found its supported.
Actual result
It's failing with a missing metadata type definition in the registry
Additional information
System Information
Ran on @salesforce/cli/2.105.6 darwin-arm64 node-v22.18.0