Activity Forums Salesforce® Discussions Where and when do we need to use api names in triggers?

  • Surbhi

    Member
    May 31, 2016 at 5:00 am

    Hi Himanshu,

    We can refer fields and objects via API names rather than labels in apex code. This means the code will not break if the label is changed or translated. So in this case, we always use the API names.

    Thanks

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos