+ Start a Discussion
PavanReddyPavanReddy 

code migration from sandbox to production

While moving code from sandbox to prduction if  i do the changes in local sandbox(like changes are changing picklist list values ,custom buttons) iwhether i need to re deploy the code in production ?or not

 

Thx in advance

kiranmutturukiranmutturu
if there is dependency w.r.t the changes .. like if you are statically using the values in the class then you need to change those static values to new one and re-deploy the same to prod... if there is no dependency or representing dynamically then you can simply ignore the code base upload the relevant changes
Bhawani SharmaBhawani Sharma
There are 2 way and choice is yours:
1. Definitely you will have to deploy your code using change set. You can include your other components with change set.
2. You can deploy your code part and you can do the config changes manually.