+ Start a Discussion
Patrick_HoeferPatrick_Hoefer 

Transport deleted classes and triggers (goal: delete class in production)

Hello,

i woul like to delete some old classes in our Production Environment:
I read in an other answer that i cant to this directly in production, i must du this in the sandbox and then Transport.

I now do this:
- make a freh sandbox
- delete there all classes

My question: How can i now make a Transport with the deletet classes? I can only add existing classes to my Transport?

Best regards,
Patrick
Vinita_SFDCVinita_SFDC
Hello,

You can deploy deleted classes from sandbox to production. Why do want to move deleted classes to production?
sfdc_ninjasfdc_ninja
There are other answers out there that outline how this can be done.  I find it easiest to use the IDE in Eclipse.  

Try some of these

https://developer.salesforce.com/forums/ForumsMain?id=906F00000008yIyIAI

http://help.salesforce.com/apex/HTViewSolution?id=000006188&language=en_US
Patrick_HoeferPatrick_Hoefer
https://developer.salesforce.com/forums/ForumsMain?id=906F00000008yIyIAI

Hi,

i will delete a class in production. But there is no "delete" button like in production. This button only exist in sandbox. So i found some old threads like the link above. there someone writes:

I usually delete the class from my sandbox and then deploy the whole of the classes directory.    This picks up the fact that my sandbox has deleted classes compared to production and the classes appear as delete options.

Now i search for the way to deploy the class directory.

Best regards,
Patrick
Patrick_HoeferPatrick_Hoefer
,


Hello,
thanks, the way with the force.com ide works.

but now i have the next problem: my Code has only 70% test. I write some new testclasses on our sandbox and try to deploy them to production. But this do not works, because i need more than 75%. I also can not do this with the developer console. What can i do to bring the new testclasses to production?#

Best regards,
Patrick