function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
greenstorkgreenstork 

Summer '10 Managed Package changes - calling code from a managed package

I know that a number of changes have been made, which now disallow calling a global method in a managed package from a Visualforce page outside of the managed package namespace.  Is this also true for classes and controllers outside the namespace.  In other words, can you call a global method in a managed package from and class outside not in the package (outside the namspace)?

 

Please confirm, as this breaks a number of important integrations with some online payment integration software that we are running in our instance.

 

Thanks!

A_SmithA_Smith

Global code can be called from anywhere (classes, pages, things in other packages, customer's code, etc).  Public code is the only thing that can only be called from pages/code in the same managed package.  There was no fundamental change around this in the summer release.  There might have been some corner case bugs that were fixed, but you likely shouldn't have experienced any issues.  If you are having a problem, I'd log a case so someone in support can investigate.

 

Thanks,