Tag Archives: Apex classes

Delete apex class or trigger in Salesforce Production Org

It is not possible to directly delete an Apex class or trigger after it has been deployed to production. A quick workaround to delete or disable Apex Class/Trigger is by using eclipse and Force.com IDE. Here are the steps – Download Force.com IDE. Connect to the salesforce production org. Download the apex class/trigger. Open the… Read More »

Dependent class is invalid and needs recompilation error

We had a trigger active and working fine for the past one year. This trigger would create a task and opportunity; as well as send an email based on certain business rules when the customer gave any kind of feedback online at the Salesforce portal. Some days back, we started getting the following error:This was… Read More »