You need to sign in to do that
Don't have an account?
Charlie Chaplin 2017
Delete trigger in production via Eclipse
I am trying to delelte mulptiple triggers from Production environment but not able to delete it.
1. Created a force.com roject
2. Open Xml file and changes Status from inactive to "Deleted"
3. saved it to server
4. Slected theCredit package and XML file and deployed it to server
This is my log file but trigger is not deleted. Anyone know what i am doing wrong?
# Deployed From:
Project name: Delete trigger from Prod 1
Username: jamil.ahmed@everbank.com.devtrigger
Endpoint: test.salesforce.com
# Deployed To:
Username: jamil.ahmed@everbank.com.ci
Endpoint: test.salesforce.com
# Deploy Results:
File Name: package.xml
Full Name: package.xml
Action: UPDATED
Result: SUCCESS
Problem: n/a
File Name: triggers/AfterInsert.trigger
Full Name: Afterinsert
Action: NO ACTION
Result: SUCCESS
Problem: n/a
# Test Results:
n/a
1. Created a force.com roject
2. Open Xml file and changes Status from inactive to "Deleted"
3. saved it to server
4. Slected theCredit package and XML file and deployed it to server
This is my log file but trigger is not deleted. Anyone know what i am doing wrong?
# Deployed From:
Project name: Delete trigger from Prod 1
Username: jamil.ahmed@everbank.com.devtrigger
Endpoint: test.salesforce.com
# Deployed To:
Username: jamil.ahmed@everbank.com.ci
Endpoint: test.salesforce.com
# Deploy Results:
File Name: package.xml
Full Name: package.xml
Action: UPDATED
Result: SUCCESS
Problem: n/a
File Name: triggers/AfterInsert.trigger
Full Name: Afterinsert
Action: NO ACTION
Result: SUCCESS
Problem: n/a
# Test Results:
n/a
1) https://help.salesforce.com/articleView?id=000003942&type=1
2) https://developer.salesforce.com/forums/?id=906F0000000AuOLIA0
Remove or delete Apex Class or Trigger (https://help.salesforce.com/articleView?id=000006188&type=1)
1. Install Force.com IDE.
2. Connect to the Sandbox Instance using IDE and find the class or trigger that you want to delete.
3. Open the matching .xml file, and change the Status XML tag from Active to Deleted.
4. Or to disable the trigger change it to Inactive.
NOTE: Apex class Status can only be changed to "Active" or "Deleted," not "Inactive".
5. Save the file.
6. Select the two files (Code and XML) using "Ctrl-click," and then right-click on one of them.
7. Select Force.com | Deploy to server.
8. Provide your credentials for the Production org and follow the steps.
Disable a Trigger in a production environment (https://help.salesforce.com/articleView?id=000005417&type=1)
Let us know if this will help you