3

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?

5
  • The class should also be global. Did you try that?
    – sfdcfox
    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
    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
    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? Aug 10, 2016 at 22:19
  • @user1813867 any update on how this was resolved ?
    – apn
    Dec 16, 2016 at 17:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.