How do I get the installed packages "Name" and "AppExchange Ready"?

PackageLicence and Publisher objects are not providing the above information. Can anyone please suggest in what way I can retrieve those details?

Installed Packages

Any thoughts would be appreciated.

Thank you


You can use below Query with Tooling API enabled -

SELECT Id, SubscriberPackageId, SubscriberPackage.NamespacePrefix,
      SubscriberPackage.Name, SubscriberPackageVersion.Id,
      SubscriberPackageVersion.Name, SubscriberPackageVersion.MajorVersion,
   FROM InstalledSubscriberPackage
   ORDER BY SubscriberPackageId

Field from the documentation -

IsSecurityReviewed - Specifies whether the package has passed the security review required for publishing in AppExchange.

Reference -

  1. InstalledSubscriberPackage object - https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_installedsubscriberpackage.htm

  2. SubscriberPackageVersion - https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_subscriberpackageversion.htm

| improve this answer | |
  • I have tried your suggestion with Tooling API. When I try this with HTTP callout, I am getting "Read timed out" Callout Exception. This is the request I made: /services/data/v49.0/tooling/query/?q=Select+SubscriberPackage.NamespacePrefix,SubscriberPackage.Name,SubscriberPackageVersion.IsSecurityReviewed+FROM+InstalledSubscriberPackage – user377110 Sep 18 at 10:45
  • how much timout you have given – Ysr Shk Sep 18 at 14:37
  • this is heavy call requires extra time. – Ysr Shk Sep 18 at 14:37
  • 1
    I have set req.setTimeout(120000), and it seems to be the issue has been resolved. – user377110 Sep 19 at 17:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.