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
Benjamin Lewis 8Benjamin Lewis 8 

Standard Objects & Change Sets

We have made a number of architectrual changes to standard objects (adding fields, changing layouts, creating rules, etc) in a sandbox environment and want to move these to the production environment. What is the best way to do this?  Is it possible to move object by object or do we move the entire sandbox over?  When we tried to test this out using changesets, it looks like it would only allow us to move a custom object, not a standard object, so we must be missing something. Thanks in advance for your help!
 
Best Answer chosen by Benjamin Lewis 8
Alain CabonAlain Cabon
Hi,

You can create a changeset with all your "components" that you want to deploy at once.

A changeset can contain hundreds of components and can be validated and deployed altogether.

The problem is for the translations (I use billingual orgs French/English).
https://success.salesforce.com/issues_view?id=a1p300000008aKiAAI

Picklist value sets on custom fields are deployed with the field itself  (known issue: https://success.salesforce.com/issues_view?id=a1p30000000wkHCAAY  )

For the picklist value sets on standard fields, you cannot deploy them with a changeset (vote here: https://success.salesforce.com/ideaView?id=08730000000HJ3kAAG (https://success.salesforce.com/ideaView?id=08730000000HJ3kAAG ) https://success.salesforce.com/ideaView?id=08730000000YkWTAA0 (https://success.salesforce.com/ideaView?id=08730000000YkWTAA0 ) )

The following types of components can be added to a change set:
https://help.salesforce.com/articleView?id=changesets_about_components.htm&type=5

https://help.salesforce.com/articleView?id=changesets_best_practices.htm&type=5

Good luck for your changeset! (that can work automatically like a charm but there are often some remaining manual actions whatever happens for our biggest changesets)

All Answers

Alain CabonAlain Cabon
Hi,

There are only the custom objects and the custom fields separately in the changeset. The standard objects and fields cannot be deleted (nor modified) and always already exist in all orgs (excepted when the versions are different).

You just have to add each new custom fields of your standard objects in your changeset (the standard object itself already exists).
 
Benjamin Lewis 8Benjamin Lewis 8
Thank you, that makes sense that I would approach this at the field level as opposed to object. How about validation rules, picklist value sets, and so on - are those each individual changesets I would have to deploy or is there a way to do more transfers from Sandbox to Production at once? I've also made updates to Pricebook, Product and opportunity product areas - these are all transfers at the field level as well? Thanks again for your help! Ben Lewis Manager, P&L Strategy & Reporting, Commercial Group Phone: (585) 327-6504 Cell: (585) 797-9307
Alain CabonAlain Cabon
Hi,

You can create a changeset with all your "components" that you want to deploy at once.

A changeset can contain hundreds of components and can be validated and deployed altogether.

The problem is for the translations (I use billingual orgs French/English).
https://success.salesforce.com/issues_view?id=a1p300000008aKiAAI

Picklist value sets on custom fields are deployed with the field itself  (known issue: https://success.salesforce.com/issues_view?id=a1p30000000wkHCAAY  )

For the picklist value sets on standard fields, you cannot deploy them with a changeset (vote here: https://success.salesforce.com/ideaView?id=08730000000HJ3kAAG (https://success.salesforce.com/ideaView?id=08730000000HJ3kAAG ) https://success.salesforce.com/ideaView?id=08730000000YkWTAA0 (https://success.salesforce.com/ideaView?id=08730000000YkWTAA0 ) )

The following types of components can be added to a change set:
https://help.salesforce.com/articleView?id=changesets_about_components.htm&type=5

https://help.salesforce.com/articleView?id=changesets_best_practices.htm&type=5

Good luck for your changeset! (that can work automatically like a charm but there are often some remaining manual actions whatever happens for our biggest changesets)
This was selected as the best answer
Benjamin Lewis 8Benjamin Lewis 8
Very helpful, thanks again!!!
Vijay Kumar KRVijay Kumar KR
Hi @Alain Cabon,
The links you provided for: For the picklist value sets on standard fields, you cannot deploy them with a changeset
are showing INVALID ID, can you provide me the information contains in that link,
My issue is: Standard Picklist Values are not showing up in produnction some times but its working fine in SB and UAT in all times, Can you please help me out in this...