I had to do a custom buttom on Account page with javascript code excution:


this code, after a user clicks the button , opens the Contratto visualforce page and passes the Account id inside the variable X. Now in the salesforce classic it works fine but in salesforce1 it doesn't work. Can someone explain me why?

  • "Enable Mobile on your VF page and the Button will be available." this comment is present on Bob's post and Mike has given positive confirmation. Will you please try that. Please update if this solves your problem so others to benefit Ref: bobbuzzard.blogspot.in/2014/08/… Jul 17 '16 at 12:27

Unfortunately, Salesforce1 doesn't accept javascript buttons. There are some workarounds that you can use, however. This post from Bob Buzzard's blog is one of them.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.