Activity Forums Salesforce® Discussions API Name changes if we change the name of the custom field?

  • Shekhar Gadewar

    Member
    July 5, 2016 at 5:26 am

    If u want to skip change in API name, you can change only Label.

  • 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.

Popular Salesforce Blogs

Popular Salesforce Videos