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
Varun ChopraVarun Chopra 

Access managed class from package in another class

Hi All,
I have created a global class even all its methods and variables are global. Now I have to access methods of that global class(which is managed as i have uploaded it through package). But it is giving 
Error: Compile Error: Invalid type: ClanName
Please Help.
Samit BhoumickSamit Bhoumick
Hi 

To access managed package Class use your Managed Package NamespacePrefix before the class name.

For eample if your package nameSpacePrefix is "myNameSpace" then call the apex class as myNameSpace.ClanName 

Hope this helps