Interview Questions   Tutorials   Discussions   Programs   

Apex - How to delete a class from production?

    Next Topic

asked kiran-57 May 27, 2013 09:49 AM  

How to delete a class from production?


1 Answers

answered By   0  
In Salesforce Production Environment The DEL option is not displayed for classes.

Follow the below steps:

  • Go To Sandbox and delete triggers form there and Also delete the Test Methods that test the Class/Trigger.
  • Go to Eclipse and do a Refresh from Server. This will make the files disappear within Eclipse.
  • Then deploy to Production, ticking Delete next to the files in your Deployment Plan. (For safety, always Deselect All when deploying, then sort by Type. Only then tick which files to deploy, since choosing the wrong ones could cripple Production.
   add comment

Your answer

Join with account you already have



 Write A Tutorials
Online-Classroom Classes

  1 person following this question

  1 person following this tag

  Question tags

apex × 1

Asked 4 years and 7 months ago ago
Number of Views -386
Number of Answers -1
Last updated
3 years and 4 months ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!