Activity Forums Salesforce® Discussions How do you delete a class from production without using an IDE?

  • Ajit

    Member
    May 24, 2016 at 10:09 am

    Hi Ravi,

    You can do it by using ANT script

    <?xml version="1.0" encoding="UTF-8"?>
    <Package xmlns="http://soap.sforce.com/2016/04/metadata">
    <fullName>codepkg</fullName>
    <types>
    <members>Test1</members>
    <members>Test2</members>
    <name>ApexClass</name>
    </types>
    <version>36.0</version>
    </Package>
    Run the below script in prompt

    ant undeployCode

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos