0

Currently the managed package classes can only be compiled using the link Compile all classes link on the Apex Class list view page.

Apex Class List View page

There are methods like compileClasses and compileAndTest. But those do not support managed packages I suppose, since Apex Classes could not be read for managed packages and hence we can not pass them. Is there any other way to call the same methods that this links calls to?

0

Short answer is: no.

But since managed classes doesn't count against total coverage, I don't think you should worry about that.

2
  • Yes...but performance can be bettered by compiling :)
    – ipradhansk
    Nov 26 '15 at 12:47
  • added Whatfix Chrome extension to guide admin users through the process to compile application. although this answer did not fix the issue, but there is no in-built feature to do this.
    – ipradhansk
    Nov 1 '16 at 20:19

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.