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

Calling a global class/method that is in a managed package
I'm wanting to create a managed package that contains Apex classes and methods that can be called from the org that installs the managed package.
I assumed all I had to do was make my Apex classes and methods global using the global keyword. However, when I try to call a method from an org that has the package installed, I get the error "Method does not exist or incorrect signature".
I've tried calling the method with and without the namespace. Can someone please tell me if this is supported or if there is some trick to getting this to work?
Thanks
I found the answer in the apex reference - namespace_prefix.class.method(args).
This is inconsistent with the format for referencing VF components or static resources that uses the double-underscore (__) after the namespace prefix which is what I was expecting.