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
Tom DJTom DJ 

How to get version String for managed package via Apex

 

I need to be able to provide the version number of our managed package in emails that are generated when application exceptions occur.   Is there an easy way to get the package version at runtime using Apex without having to update code each  release cycle?

 

Your help is greatly appreciated.

 

Thanks,

 

Tom D.