I enabled "Developer mode" on my account and visited my visualforce page and got an error that says "Javascript proxies were not generated for controller: may not use public remoted methods inside an iframe."

I read this article and it said to change my remote methods to global - and I did that, but the error persists.

Anyone know what else I can try?

  • The class should also be global. Did you try that?
    – sfdcfox
    Commented Aug 10, 2016 at 17:36
  • as @sfdcfox said class should be global + all method should be defined as global as well regardless that is remote action or not.
    – Himanshu
    Commented Aug 10, 2016 at 17:58
  • Can you edit your post to include the relevant code? Just the class declarations and method signatures should be sufficient.
    – Adrian Larson
    Commented Aug 10, 2016 at 20:44
  • You guys are correct - does someone want to add a solution so I can give it the correct answer? Commented Aug 10, 2016 at 22:19
  • @user1813867 any update on how this was resolved ?
    – apn
    Commented Dec 16, 2016 at 17:26


You must log in to answer this question.

Browse other questions tagged .