Skip to main content
CHANDRA KANT BAGHEL (Algoworks) ha fatto una domanda in #Apex
Hi All

Is it mandatory to have the "RemoteActions" in the controller of the vf page. Can't they be defined in some other class?

When I am defining in some other class, I am getting following error:

No remoted actions found to resolve '$RemoteAction.xyzClass.abcMethod'

Thanks
3 risposte
  1. 16 gen 2024, 11:55

     In your VF Page, check the controller attribute, whether it points to your Apex class. After pointing my VF page to the controller it started working fine for me.