How can we get installed Packages of salesforce org Namespace Prefix
Answer
String pkgNamespace =[select NamespacePrefix from ApexClass where Name =:'Any class from your package'].NamespacePrefix;
System.debug('pkgNamespace: '+pkgNamespace);
How can we get installed Packages of salesforce org Namespace Prefix
String pkgNamespace =[select NamespacePrefix from ApexClass where Name =:'Any class from your package'].NamespacePrefix;
System.debug('pkgNamespace: '+pkgNamespace);