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
RupaliJRupaliJ 

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.
sfdcfoxsfdcfox
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.