1

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

window.open('/apex/Contratto?X={!Account.Id}',"self");

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?

1
  • "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, 2016 at 12:27

1 Answer 1

1

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .