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
Allen EdwardsAllen Edwards 

Custom Settings Values not getting deployed from the DEVELOPMENT environment to PRODUCTION

Hi Guys, I'm currently experiencing the following issue in my org when deploying Custom Settings from the Development environment to the Production environment. The values are available in both the Development and UAT environments but when we deploy to Production only the custom settings (labels and descriptions) are coming through, the acual values existing in the DEV and UAT environments are being excluded.
All the related Apex classes and Apex triggers as well as Profile Settings have been checked and there are no differences between DEV and PROD.
How do we add these values while deploying?
 
Best Answer chosen by Allen Edwards
Ahmad J. KoubeissyAhmad J. Koubeissy
The custom settings value are not deployed via change set, only the metadata are deployed. To migrate the value you should use dataloader to export the values from  Development or UAT environments and then import them to the production also using dataloader.

Kindly mark as best answer if this solves ur problem. thanks

All Answers

Ahmad J. KoubeissyAhmad J. Koubeissy
The custom settings value are not deployed via change set, only the metadata are deployed. To migrate the value you should use dataloader to export the values from  Development or UAT environments and then import them to the production also using dataloader.

Kindly mark as best answer if this solves ur problem. thanks
This was selected as the best answer
Allen EdwardsAllen Edwards
Thank you very much for the prompt reply:)
Ahmad J. KoubeissyAhmad J. Koubeissy
Kindly mark as best answer
Allen EdwardsAllen Edwards
Tx