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

Custom Field Deletion


I am not able to delete the custom object's field from eclipse. I am deleting the field and when i am trying to save, It's rolling back the changes.

Please anyone knows how to delete the custom objects field.

And also i am using the latest version of IDE.

Please suggest me as soon as possible.
Chidambar ReddyChidambar Reddy
Please check if the field is being used in any of the program/ code

Please try deleting in the UI sothat it will show , what are the dependent components that are using that field

Thank you
Abi DuthuAbi Duthu

Uncheck the option "Build Autamatically" under the section "Project" in Eclipse.
srlawr uksrlawr uk
As far as I am aware, you cannot delete a field from a custom object (or make any particulally destructive changes) via the metadata API (which the IDE uses).

If you wish to delete a field on an object, you need to do so through the browser (Setup > Create > Objects) and then in the IDE right click on the file name > > "Refresh from server" and you will find it gone. To make destructive changes remotely like that, you will have to use the migration tool (details here ( or of course, download the open soruce code for the IDE and rewrite it :D

You can check out this blog post ( for more information on the IDE and metadata API, which includes a list of limitations (not limited to):
  • Cannot change the API name of an existing field. It will simply create the new field.
  • Cannot delete existing picklist values
  • Cannot delete fields
  • Cannot change some field type (eg tried to change afield from autonumber to text but it didn’t make the change).