You need to sign in to do that
Don't have an account?
Manish Kumar 23
Deleting Class from Production instance
I have arround 5 to 6 class that is requited to be deleted in Production instance. for deleting a class I have installed IDE Ecllips and updated xml file with "Deleted" ansd then save to server.
But unfortunalty I am geeting that code is save locally. and the changes are not refelecting in production instance
But unfortunalty I am geeting that code is save locally. and the changes are not refelecting in production instance
Remove or delete Apex Class or Trigger
1. Install Force.com IDE.
2. Connect to the Sandbox Instance using IDE and find the class or trigger that you want to delete.
3. Open the matching .xml file, and change the Status XML tag from Active to Deleted.
4. Or to disable the trigger change it to Inactive.
NOTE: Apex class Status can only be changed to "Active" or "Deleted," not "Inactive".
5. Save the file.
6. Select the two files (Code and XML) using "Ctrl-click," and then right-click on one of them.
7. Select Force.com | Deploy to server.
8. Provide your credentials for the Production org and follow the steps.
More Info : https://help.salesforce.com/articleView?id=000006188&type=1
http://www.salesforceben.com/way-to-delete-apex-classes-from-production/
please check once above links..
Thanks&Regards
Varaprasad