function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
LearnSFDCLearnSFDC 

How do i delete a Custom field in the Contact Object Using the Ant Build?

I am trying delete a Custom Field called WorkPhone from the Contact Object through destructiveChanges.xml. using the Ant build I know how to delete objects but not a field in that object.I am not able to find the syntax for the same.Could somebody please help by posting a sample code and the syntax for the same.Thank You in advance
jeffdonthemic2jeffdonthemic2

Unfortunately I'm pretty sure the Metadata API does not allow the deletion of fields.

 

Jeff Douglas

http://blog.jeffdouglas.com

Appirio