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
ShaTShaT 

How to display a URL field as button in related list.

Hi, I have a field in contact which is URL. I want to display button instead of Link in realted list. Like if contact has URL field, then in Account page in the contact related list, that field should show up as button rather than link

 



 

This is something new , I dont have any idea how to do this.

 

 

 Thanks Shailu

sf.dev.ax1103sf.dev.ax1103

Hi Shailu,

 

             Please find the link you it may be helpful to you.

 

 http://boards.developerforce.com/t5/Best-Practices-Discussion/Create-Salesforce-buttons-was-Creating-Hyperlinks-that-fit-into/td-p/27252

 

 

 

Thanks

flewellsflewells

I have accomplished this by doing the following:

 

1) Create image of a button

 

2) Save image file to the Documents tab

 

3) Create custom formula field.Use the HYPERLINK and IMAGE functions and reference your image/document from Step 2

 

Sample formula format: HYPERLINK(ENTERYOURURL,IMAGE( "servlet/servlet.FileDownload?file=ENTERDOCUMENTID", "ENTERALTERNATETEXT", ENTERHEIGHT, ENTERWIDTH))