You need to sign in to do that
Don't have an account?
Steve Berley
call javascript automatically based on changes to record
I have a button on the account page that calls a js window.open() when clicked.
I also have a field on account called Status.
The button can be pushed any time. However it must be clicked when Status is set to 47.
Since the users are forgetful i want to automatically call the window.open() for them whenever status=47.
How do I do this - by any realistic means (apex, wfr, flow, pb....)
Thanks,
Steve
I also have a field on account called Status.
The button can be pushed any time. However it must be clicked when Status is set to 47.
Since the users are forgetful i want to automatically call the window.open() for them whenever status=47.
How do I do this - by any realistic means (apex, wfr, flow, pb....)
Thanks,
Steve
I think you can try to cretae a visualforce page for the Account page and inside that you can fire the javascript(window.open()) whenever the status value is changed to 47.
Best Ragards
Sampath
1.Create Visualforce page with Action poller component (call controller method to retrive status value every 5s). using this componenet Check the account status is 47 or not with sapcific time intervel like 5s 10s some thing like that.
2. if status is 47 call window.open()
3. plug the page with account layout it will works automatically with haveing button click.
Thanks
karthik