In your developer org, got to Setup> Apex Classes > From list view of classes you can delete the class. Before deleting it you need to remove it's reference from components, for example if visualforce page used that class then remove reference from vf page first.
Hi Saptarshi, It is not possible to directly delete an Apex class after it has been deployed to production. A quick workaround to delete or disable Apex Class is by using eclipse and Force.com IDE. Please go through the link given below in which you can resolve this problem step by step: https://www.greytrix.com/blogs/salesforce/2014/11/29/delete-apex-class-or-trigger-in-salesforce-production-org/
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
You can do follow the Set-up menu to delete the class in developer Org: 1. Type Classes on the quick find box in the set up menu. 2. Choose the class that you want to delete. 3. Click on the class name. 4. You click a delete button there on the page.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too. Thanks, Ajay Dubedi
From list view of classes you can delete the class.
Before deleting it you need to remove it's reference from components, for example if visualforce page used that class then remove reference from vf page first.
OPen Apex Class in developer console
and you go to file --> delete option which delete the apex class
Option 2 : Using Setup menu
In your developer org, got to Setup> Apex Classes > From list view of classes you can delete the class whihc you want
It is not possible to directly delete an Apex class after it has been deployed to production. A quick workaround to delete or disable Apex Class is by using eclipse and Force.com IDE.
Please go through the link given below in which you can resolve this problem step by step:
https://www.greytrix.com/blogs/salesforce/2014/11/29/delete-apex-class-or-trigger-in-salesforce-production-org/
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha
You can do follow the Set-up menu to delete the class in developer Org:
1. Type Classes on the quick find box in the set up menu.
2. Choose the class that you want to delete.
3. Click on the class name.
4. You click a delete button there on the page.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi