You need to sign in to do that
Don't have an account?

Lightning enabled - avoid JS in button
Hi all, I wanted to get your suggestion on how to avoid JS in buttons. There are few scenarios where JS is used:
1) to invoke WebService
2) to update the current record
3) to redirect to visualforce page
All this is done with some conditions prior to execution. For example
if (account.status =='Ready')
Any suggestion/help much appreciated!
1) to invoke WebService
2) to update the current record
3) to redirect to visualforce page
All this is done with some conditions prior to execution. For example
if (account.status =='Ready')
Any suggestion/help much appreciated!