4

I have a managed package apex classes. Can i execute them from my apex triggers?

Managed package apex creates records, so i want to execute it from a trigger.

5

You cannot access Apex code that's in a managed package, unless it is made global by the publisher of the package.

  • If the class is made global, can i access it through apex anonymous window and execute it – Anurag A May 2 '16 at 18:59
  • Both the class and the method should be global. If this is your own managed package, beware that restrictions apply once global classes are packaged. – rael_kid May 2 '16 at 19:46

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.