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
ABakABak 

Change Sets

I am creating an outbound change set in my sandbox environment to be deployed in my production environment.

 

While adding custom field or custom object components to my change set , it gives me a list of all the custom fields (including the ones that are already there in production) and all the custom objects.

 

My question is do i need to add all the custom fields (again ) to my change set or should i add only the ones that I created in my sandbox i.e. the new custom fields,objects.

 

 

 

bob_buzzardbob_buzzard

On deployment, the change set will create new elements and overwrite existing elements, so it depends on what is present in the target organisation.

 

If you have only added fields in your sandbox, you would just add those to the change set.  If you have updated existing fields, you should add those in also, otherwise the originals will remain in the target org.