You need to sign in to do that
Don't have an account?
rajs
Custom buttons on iframe with incorrect behaviour
Created one visualforce page and placed this on "Home Page" by using "Sidebar component" with <iframe> tag. Here my problem is, when I click the button on that page, It refreshes with in the iframe instead of refreshing parent window.
Can you please guide me to refresh the parent window from iframe?
Thanks in advance!
Hi,
If you are using javascript to open a page with new url then use
window.parent.location.href = "<url">;
or
window.top.location.href = "<url>";
Hope this helps.
Try out the following :
window.parent.location.replace('/{!$CurrentPage.parameters.id}');
Hope this helps.