function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
advlgxadvlgx 

Step by Step.... What do I do to upload a trigger through Eclipse?

jeffdonthemicjeffdonthemic
You can deploy your trigger using either the Force.com Migration Tool (ANT) or the Force.com IDE (Eclipse). The Eclipse route is much easier for beginners so that would be my first suggestion.

Before you deploy, make sure you have written unit tests that provide for 75% coverage of your trigger. You might want to take a look at the following link as it has more info and a link to the Force.com IDE:

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_deploying_ide.htm

Once you have Eclipse installed or running, you can select Help -> Help Content and search for "Deploying to Another Salesforce Organization".

HTH

Jeff Douglas
Informa Plc
blog.jeffdouglas.com
NonickNonick
While I'm still having problems with my trigger.
http://community.salesforce.com/sforce/board/message?board.id=apex&thread.id=9720
In an eclipse project, create the trigger and click save. You'll also need to create a class cause you can't test a trigger through a method in the trigger itself. If you're anything like me, THAT's when you'll start having problems. Right clicking on the trigger in navigation pane in eclipse, go down to Force.com and click Save to Server will save the trigger to the environment.