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

How to Auto Refresh a Standard Visual force page when an Workflow field update will happen
Hi All,
i have a standard opportunity page. also i have a field update on this. so i have to auto refresh my opportunity page when a field update happen. now i need to manully refresh the page. how can i achieve this. i have written a inline visual force page with a 'Reload' button embadded with the satndard page. but i need to manually click this button. i need the auto refresh the page.
Thanks,
i have a standard opportunity page. also i have a field update on this. so i have to auto refresh my opportunity page when a field update happen. now i need to manully refresh the page. how can i achieve this. i have written a inline visual force page with a 'Reload' button embadded with the satndard page. but i need to manually click this button. i need the auto refresh the page.
Thanks,
You have to use apex:actionPoller component to run a server-side code piece executed on a specific time interval (probably every 5 seconds).
When your workflow updated the required field, your apex:actionPoller will automatically refresh the page.
Your code will look like this. Hope this helps.
Thanks,
However, if the workflow is independent of the page layout you are in (for example, time bound), you have to have a small VF component added in your page layout with the above code.
This VF component will take care of the auto refresh, once you add the right condition.
Did you find the soluton ?
I am stuck with similar issue.
Please let me know the solution if you have found.