Related posts

2 thoughts on “How to Retrieve and Deploy Custom Metadata Types using ANT”

  1. Thanks Jitendra. You ran into the same issues I had, and you explained them clearly. Note to others:

    In the CustomObject, definition, the Custom Metadata Type takes the __mdt suffix. Like this: Data_Import_Mapping__mdt

    But in the CustomMetaData definition, there are no suffixes, not even on the record names. No __c, for instance. Correct is:
    Data_Import_Mapping.Person_Title

    Baird

    1. Thank you Jitendra. And one more point – When u add custom metadata Object to package, it will include all the standard and custom fields. If you have records created under manage options, add those values under custommeta data tag to package. As baird said those values under manage options, will have have any suffixes.

      Thank you @jitendra it was helpful.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.