Activity › Forums › Salesforce® Discussions › API Name changes if we change the name of the custom field? Tagged: API Field, Salesforce Apex, Salesforce APIs Salesforce® Discussions API Name changes if we change the name of the custom field? Posted by Mark on July 5, 2016 at 3:35 AM What if we change the name of the custom fields. Will the API name change? Shekhar Gadewar replied 9 years, 10 months ago 2 Members · 3 Replies API FieldSalesforce ApexSalesforce APIs 3 Replies Shekhar Gadewar Member July 5, 2016 at 5:26 AM If u want to skip change in API name, you can change only Label. [adinserter block='9'] Mark Member July 5, 2016 at 5:39 AM @shekhar-gadewar, do you mean that API name automatically changes when you change the label? If yes, API names might have been used at several places in the Apex code, how to deal with that? Shekhar Gadewar Member July 5, 2016 at 5:45 AM Hi Mark, When changing label, it will also try to change API name. This you can avoid by keeping same API name. Best Practice: Never change API name and only change label as we have used API names at many places. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me