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

Embedded VF page - How to refresh the parent (standard) page?
Hi,
I have embedded a VF page into a standard Salesforce page for Accounts.
The VF page contains input fields as well as apex:relatedLists.
Whenever I click on a link (e.g. a lookup field) or try to create a new related list entry via the 'New' button only the section of the VF page is reloaded an shows the lookup record or entry mask for a new related list item.
How can I make the whole Account (parent / host) page reload?
I tried target='_top' in different areas but I could not make it work.
Any ideas?
Many thanks!
what about Javascript?
Would JS work in this case? I thought it was not allowed because Visualforce and standard page layouts are on two different domains.
I think that, as long as you don't try to touch anything on the top frame code, it should work.
I can't try it right now, but is easy to check. (If you check, do it with several browsers, as they implement this part of the security in a wide different way)
Thanks SeAIVa,
I'm struggling a bit with the javascript command....
Below I have included my VF page code.
If I want to reload the entire host (account) page when clicking on for instance the apex:relatedlist section (e.g. to create a new entry) where would I need to include the top.location command?
Many thanks for your help!!!