I have a @RemoteAction
function in my Apex Class
. I have a public static variable in this class. When I access this variable in the @RemoteMethod
, there is error saying variable doesn't exist. When I make the class, method, and variable all global
, the code compiles, but the variable is still null
.
Can anyone help me in what am I doing wrong?