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
wilbur07wilbur07 

Deploying Trigger to production environment

I have a trigger that includes custom fields.  When I try to deploy the package to production it can't because of the duplicate custom fields that are already there.
 
I can't create a package without the included custom fields, and I can't simply delete those custom fields from the production environment.
 
How am I supposed to deploy my new trigger to production?
 
Any help is appreciated.
paul-lmipaul-lmi
packaging is really meant for you to be able to give to other organizations.  you should be able to deploy via the Eclipse IDE.  Just right click the dev org, and click Force.com > Deploy to server.  it'll step through a wizard to create a deploy plan, at which point you select which pieces to add/remove/overwrite.