0

I am trying to create a new Force.com IDE project to my production org and I do not see the folder for triggers and cannot seem to get any of my triggers pulled into here. What am I missing?

Below is my package.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<version>38.0</version>
</Package>
2
  • Please share your package.xml. – Adrian Larson Jun 7 '17 at 14:54
  • Updated with package.xml – cmmoutes13 Jun 7 '17 at 15:09
1

You can only load triggers from an edition that supports Apex.

If you want to delete triggers from a live org, you don't need to involve Eclipse. I typically use the Developer Workbench and a destructiveChanges.xml file.

You have to actually include the triggers in your package.xml file.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>ApexTrigger</name>
    </types>
    <version>39.0</version>
</Package>

My typical package includes these types:

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>ApexClass</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexComponent</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexPage</name>
    </types>
    <types>
        <members>*</members>
        <name>ApexTrigger</name>
    </types>
    <types>
        <members>*</members>
        <name>CustomLabel</name>
    </types>
    <types>
        <members>*</members>
        <name>StaticResource</name>
    </types>
    <version>39.0</version>
</Package>
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.