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
CTU007CTU007 

mass delete custom fields definition in an object?

Hi, I need to delete 100+ fields in one custom object, what is the best way to do this?

 

Does Eclipse support field deletion?

 

Thanks.

Rajesh ShahRajesh Shah

I don't think eclipse supports field deletion. I once tried removing the field definition from the Object in Eclipse and then saving to server. But it didn't worked. Maybe syncing with server will work but I am not sure about that. Apart from that I can't think of any efficient way of deleting fields.

 

Infact this can go as a good idea. Selecting fields you want to delete and then delete them in one go. It would be really efficient.

Mohit Bansal6Mohit Bansal6
To fulfill Mass field deletion requirements, there is a Salesforce AppExchange App,

Salesforce BULK Object Field Creator - A Time Saver App....!!!

User-added image

Helps Admins & Developers to CREATE multiple fields, DELETE multiple Fields & Assign FLS for multiple profiles for multiple fields in single click
Drag Drop a csv or xls files which contains list of new fields to be created

Mullt-select your fields to be deleted and click Delete.
Benefits:
 - Bulk(multiple) Field Creation
 - Bulk(multiple) Field Deletion
 & lot more...

AppExchange Link:
https://appexchange.salesforce.com/listingDetail?listingId=a0N30000000qDqqEAE

For any further assistance, contact me:
Email: mishu67777@gmail.com
Skype: mohit_bansal17
 
Regards
Mohit Bansal