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
mworldmworld 

Ant and Custom Field Deletion

Has anyone succesfully used Ant to delete a custom field from any object (in this case Opportunity)? If so, can you post the destructiveChanges.XML for this? We've been trying to delete custom fields from both custom and "stock" objects with no success (though we can delete custom objects succesfully).

Mauricio Parra
JonPJonP
As of Summer '08, the Metadata API does not support deleting custom fields, nor do tools that use the Metadata API such as the Force.com Migration Tool (ant) and the Force.com IDE.
mworldmworld

Jon:

Is this shortcoming noted in documentation somewhere?

Mauricio