You need to sign in to do that
Don't have an account?
Package Trigger
Hello everybody,
I've written 2 trigger for 2 custom objects in my sandbox, now I want to deploy them in production.
I've written the test code, and I pass it.
Then I try to create a new package, I follow the various passages and arrive to the drop down menu in which I can select the objects I want to add to the package.
If I select the "Apex Trigger" The available list is empty.
I've tried with the Apex class that contain the test... But when I try to upload the package I get some errors due to some custom fields that are automatically inserted in the package (and I cannot delete them even if I don't need them).
What cai I do?
Do not use packages to promote changes from sandbox to production. Packages are for ISVs creating commercial applications.
Instead, use the Metadata API by installing a client such as the Force.com IDE (for Eclipse) or the Force.com Migration Tool (for Ant).
In the Force.com IDE you can create a project against your sandbox, then use the Deploy to Server wizard to upload your triggers and test classes to your production organization.
http://wiki.developerforce.com/index.php/Force.com_IDE (link)
I'm having a problem with the force.com IDE
http://community.salesforce.com/sforce/board/message?board.id=general_development&thread.id=31938