Reply
Regular Contributor
Mr. W
Posts: 48
0
Accepted Solution

HTML Home Page Component

I'm trying to create a good looking HTML button template that links to a report in salesforce.  (NOT A CUSTOM LINK ON AN OBJECT).  

 

Could someone help me with the code? I want it to be a straight forward button, where one could easily place the 15 digit URL of individual reports.

 

Many thanks!  

 

  

Super Contributor
Jia Hu
Posts: 839
0

Re: HTML Home Page Component

For your idea,
<input type="button" value="Report" style="cursor:pointer;" onclick="location.href='/00ON0000000VoSQ'">

00ON0000000VoSQ is report Id
Regular Contributor
Mr. W
Posts: 48
0

Re: HTML Home Page Component

Excellent.  I was creating S-Objects and writing the java for them and then referecing those links.  This is much more straight forward.