function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AichaSFAichaSF 

apex code - Refresh page

Hello, 

How to refrech current page with apex code.
Thank you.
Pavit SiddhuPavit Siddhu
Hello, Aicha 
Use Action Pollar to refresh visualforce or a region of a page after a time interval.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_actionPoller.htm
I hope it helps you.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_actionPoller.htm


Kindly let me know if it helps you and close your query by marking it as solved.

Thanks and Regards
Pavit Siddhu