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
OpsterOpster 

Detect App Version in code

I want to be able to detect which version of my App is running on any given instance of a salesforce org, to allow me to toggle visual elements that are applicable only to certain versions.  For example if my app version is v1.1 I want to display x, but if it is v1.2 I want to display x and y. 

 

How can I query for the installed package version?

 

Thanks in advance.

aalbertaalbert

How about these Package Methods: link?