+ Start a Discussion
Sam KamenskySam Kamensky 

Can I rename API names of fields in a change set?

I have a field in two sandboxes with the same ID (they both came from production). The field is on the Opportunity
Let's call them sandbox1 and sandbox2.
I changed the API name of the field in sandbox1 (along with some apex references).
But when I deployed the change set from sandbox1 to sandbox2, instead of changing the API name in sandbox2 to match the API name in sandbox1, it created a new field with the changed API name and left the old field intact and unchanged.
Is it possible to rename API names of fields with change sets? Or will it always create a new field when I move it from one environment to another?
ajay rawat 14ajay rawat 14
Hi Sam
          You are trying to modify metadata in sandbox2 using change set but this a one of the limitation of change set. We cannot modify existing metadata using change set. We can use Eclipse IDE for this or you have to manually change it in sandbox2

Thanks ang Regards
Ajay Rawat