Activity › Forums › Salesforce® Discussions › How to refresh the visualforce in Salesforce? Salesforce® Discussions How to refresh the visualforce in Salesforce? Posted by Aditya on April 20, 2020 at 4:34 PM How to refresh the visualforce in Salesforce? Marziya replied 6 years, 1 month ago 2 Members · 1 Reply 1 Reply Marziya Member April 21, 2020 at 6:34 AM Hii Aditya, following steps:– public PageReference WorkOrderCompleteAction() { // Do your code here whatever you want to do in this method PageReference tempPage = ApexPages.currentPage(); tempPage.setRedirect(true); return tempPage; } Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me