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

Using Namespaces When Invoking Methods

I have create a managed release package and was able to successfully install it.
the package consitis of apex classes ( decalred as public and method which are also public)
typical example is
Namespace : testnm
public class MyClass {
public static void myMethod(String s) {
now in the installed org , I would like to use the class and its method
I have tried using as follows in a public class
but this does not work. Can anybody help me with an example.
I believe you need to change the class and method signatures to global.  Only global classes/methods are exposed to subscriber orgs.
.msg_source_code { border:1px solid black;padding:10px;display:block; }