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.

1 Answer 1

5

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

2
  • If the class is made global, can i access it through apex anonymous window and execute it
    – Anurag
    Commented May 2, 2016 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. Commented May 2, 2016 at 19:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .