You need to sign in to do that
Don't have an account?
Rolando Esteves
Refresh master page from VF page in new section area
Is it possible to refresh master page from a visual force page that is embeded on the opportunity layout ??
Thanks for all the help.
I already tried calling JS functions like window. and doing the following in the controller:
PageReference curPage = new ApexPages.StandardController(opp).view(); curPage.setRedirect(true); return curPage ;
Hi Rolando,
I took this solution from this post: http://forums.sforce.com/t5/Visualforce-Development/Embedding-Visual-FOrce-page-in-standard-layout-access-to-std/td-p/116543
Basically what you want to do is create a Boolean variable in your controller extension class that indicates whether the master page needs to be reloaded. An <apex:outputPanel> element can then be used in your inline VF page to refresh the master.
Controller extension:
VF page:
Let me know how this works for you as it worked just fine for me in my test.
Regards, Jeremy
All Answers
Hi Rolando,
I took this solution from this post: http://forums.sforce.com/t5/Visualforce-Development/Embedding-Visual-FOrce-page-in-standard-layout-access-to-std/td-p/116543
Basically what you want to do is create a Boolean variable in your controller extension class that indicates whether the master page needs to be reloaded. An <apex:outputPanel> element can then be used in your inline VF page to refresh the master.
Controller extension:
VF page:
Let me know how this works for you as it worked just fine for me in my test.
Regards, Jeremy
Thanks !