• Ilan Hazan
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

I'm trying to setup automated salesforce deployment for our project, using ANT & the salesforce migration tool.Problem is, when I deploy custom objects, it doesn't seem to be overwriting the fields.

For e.g., if I have a field "Overview" on a custom object, and I remove it from the XML file definition, the ANT deployment somehow leaves the field on the object in salesforce after deployment.

 

I tried putting in the destructiveChanges.xml file which works, but I cannot put each and every field that we are changing into the destructiveChanges file. I'm hoping that there is a better way to do this.

 

Any help is appreciated.