Tag Archives: trigger in Salesforce

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 »

Invoke Future Methods through Apex Trigger for web service callout

While developing applications in force.com, sometimes we need to consume external web service in apex trigger. But, callouts cannot be made from apex triggers as that restricts database transaction until the callout is completed and the time limit for this is up to 120 seconds.You can find other callout limits here. The only way to… Read More »