function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
King KooKing Koo 

Terminology clarification required: Apex version vs API version

Hi guys


In the APEX Developer's Guide on the topic of "Defining Triggers" you have this:


Click Version Settings to specify the version of Apex and the API used with this trigger.


However when you look at a trigger and click "Version Settings", you only really see the dropdown (for the Version number) for " API", no "Apex version".


What exactly are the differences between Apex version and API version?  I assume API version means Salesforce API version.  Even then, what are the differences?  For example, for Spring 2013, I would assume they must both be version 27.0, is it not?  I wonder if it has to do with some historical configuration of Salesforce.





They are the same.