[SalesForce] Visualforce Homepage component

I wrote a VF page which I use as a VF Homepage Component on the Narrow Side (Side bar).
Showheader and sidebar page attributes are set to FALSE.
My page uses the standard controller of one of my custom objects.

When I'm on the homepage or any tab the component displays properly BUT when I navigate to any record detail page the component is showing the header and sidebar as well (it seems as the entire SF homepage is showing in the space I allocated to the component)

Why is this happening?
How can I solve this?

Best Answer

It is happening because the links open within the iframe component. You need redo your vf page to change the links to call a Javascript function on the page that then sets the

window.parent.location

= to the actual url of the clicked link. Then the main window should navigate to the link

Related Topic