I am trying to deploy RecordTypes from one sandbox to another. Here's my XML


Fails to deploy, any idea what is wrong with this?

  • Giene, how is it failing ? Jun 3, 2015 at 8:09
  • I think I am missing the object name which Brovasi has answered below. But wondering if the value in the name tag is still correct or not. RecordTypes or RecordType.
    – DJD
    Jun 3, 2015 at 8:11

1 Answer 1


Try the following:

  • Is still the <RecordType> tag holds good or it should be <RecordTypes> ? Please confirm.
    – DJD
    Jun 3, 2015 at 8:00
  • RecordType without the 's'. developer.salesforce.com/docs/atlas.en-us.api_meta.meta/…
    – brovasi
    Jun 3, 2015 at 8:11
  • Hi Brovasi, I went and looked into the example from the : salesforce docs However the "Declarative Metadata Sample Definition" example shows as recordtypes. Havnt retried yet, kind of waiting for a confirmation.
    – DJD
    Jun 3, 2015 at 8:13
  • 2
    Some clarification, your recordtypes are included in your object files themselves. Open opportunity metadata and search <recordTypes>
    – brovasi
    Jun 3, 2015 at 8:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .