+ Start a Discussion

How can we get the installed package information within apex controller in salesforce?

Hello, We have an apex controller in our package and want to know the "number of days" left before the trial period of our package expires for the logged in user. We would need to access the installed package information for this purpose. Is there a way to get this information through callouts to LMO (License Management Org)? Or is there any object or DescribeResult methods to obtain this information? Thanks in advance.
There's no documentation on this, so I presume that, short of calling your LMO for the details, there's no way to get at this information within the installed organization directly.