I want to add custom fields to the Contact Object in SFDC. When I look into the package.xml I do not see any of these changes or fields. I am missing something?

1 Answer 1


You will need two things here.

1 - Add the custom field in the metadata definition of the Contact Object, as below:

<CustomObject ...>
         .. all other tags ..

2 - Add your Contact object in the package.xml as:


Refer to the documentation for details.

  • It should be the Contact's metadata xml file. Should be under <your-directory>/objects/Contact.object.
    – Jayant Das
    Oct 8, 2018 at 21:43
  • If I do step 2 two first, then the object shows up. Changes to the object in the UI don't make the Contact Metadata show up. This works though thank you!
    – IOG
    Oct 8, 2018 at 21:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.