function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JekeysJekeys 

Open External Webpage from Dashboard

Hi

 

I have added a link to an external webpage on to one of our dashboards using a visual force page,

 

clicking on the link opens the page, however it opens it within the component, can you tell me how to open it in a new window?

 

<apex:page >
<apex:outputLink value="http://developer.force.com">Click me</apex:outputLink>
</apex:page>

Thanks

 

JK

 

 

 

Best Answer chosen by Admin (Salesforce Developers) 
SFFSFF

I'm a little unclear on why you're embedding a link in a dashboard, but to get it into a new window you could try:

<apex:page>
<a href="http://developer.force.com" target="_blank">Click me</a>
</apex:page>

Good luck!

All Answers

SFFSFF

I'm a little unclear on why you're embedding a link in a dashboard, but to get it into a new window you could try:

<apex:page>
<a href="http://developer.force.com" target="_blank">Click me</a>
</apex:page>

Good luck!

This was selected as the best answer
JekeysJekeys

Thanks this worked perfectly!

 

I want to put links to you tube vids for 'how to's' for the members of our team that are not that advanced using SF.

 

Also, was inspired by this chap, although, do not know how to restrict page sizes etc to get it to play ON the dashboard, any tips appreciated.

 

http://www.opfocus.com/2012/02/how-to-add-dazzle-to-your-salesforce-com-dashboards-with-visualforce/

 

Thanks so much for your help JK :)