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
AbAb 

Checking current API

Hello,
 
To update an existing component to API version 44.0,

How can i check the current API version and will it differ from production to  Sandbox

Thank you
Best Answer chosen by Ab
ShirishaShirisha (Salesforce Developers) 
Hi Sandrine,

Greetings!

You can check the API of the class on UI on the class page or if it is lightning component then you can check in the developer console.

To set the Salesforce API and Apex version for a class or trigger:
>Edit either a class or trigger, and click Version Settings.
>Select the Version of the Salesforce API. This is also the version of Apex associated with the class or trigger.
>Click Save.

Sometimes,the API version may differ from Sandbox and production during release time.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri