You need to sign in to do that
Don't have an account?

Calling local apex-class from managed package
Situation: Managed package activates apex-classes from other managed package. Works fine. !
eg. Managed package PacA, calls PacB.Apexclass
As said: works ok.
"ApexMaster thisApexClass = (ApexMaster)(Type.forName(ThePrefix, theScript).newInstance());"
thisApexClass.xyz ....
I can not got this to work for a ApexClass NOT part of a managed package. What value need to be in 'ThePrefix' and/or 'theScript' to get it working
Any help is welcome
eg. Managed package PacA, calls PacB.Apexclass
As said: works ok.
"ApexMaster thisApexClass = (ApexMaster)(Type.forName(ThePrefix, theScript).newInstance());"
thisApexClass.xyz ....
I can not got this to work for a ApexClass NOT part of a managed package. What value need to be in 'ThePrefix' and/or 'theScript' to get it working
Any help is welcome