Find your content:

Search form

You are here

Homepage custom link


How can I add a link to the sidebar component that opens a VF page in a new page? I have created a custom page component and a custom link like apex/myPageName but it does not work.

Attribution to: Dedo

Possible Suggestion/Solution #1

Specify your full URL (eg for the link.

It's nice to put that prefix in a custom setting so it'll work in sandboxes, after a move, etc.

And as always, verify permissions on the page.

Attribution to: Shane McLaughlin

Possible Suggestion/Solution #2

When creating your Link you can pick the Visualforce page source like so...

enter image description here

Then assign the Link to a component...

enter image description here

And finally to the layout...

enter image description here

My page shows in the sidebar like so and popups up in a new window...

enter image description here

Like so...

enter image description here

My page source is this, note I've removed the sidebar and header...

<apex:page sidebar="false" showHeader="false" >
  <!-- Begin Default Content REMOVE THIS -->
  This is your new Page shown via the Sidebar
  <!-- End Default Content REMOVE THIS -->

Attribution to: Andrew Fawcett
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content