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
Suman GiriSuman Giri 

From Apex how could I get the list of installed packages ?

 

Is there a way I could get the list of installed packages in an org from Apex code. Could it be achieved using Webservices API ?

My requirement is to check whether a particular package is installed in the org, then have perform an action. If the package is available for the org, then have to install the package and then perform an action.

Any suggestions please let me know.

 

Thanks,

Suman