Skip to main content

Hi All,

I have a custom field which contains the user's linkin URL. 

in my formula I want to use a image instead and linked to my custom field is field if it's filled.

It's not working and will throw an error. if I look at the Url it's like: https://sdworxgroup--int.cs85.my.salesforce.com/www.linkedin.com/in/

so I tried to remove the basic url from it but it still not working.

IF(ISBLANK(LinkedIn_Profile__c), 

(HYPERLINK("http://www.linkedin.com/vsearch/p?type=people&keywords="&FirstName&"+"&LastName&"&sortCriteria=4", 

IMAGE("http://www.shebrand.com/wp-content/uploads/2010/07/icon_linkedin1.png","linkedin",15,15))), 

HYPERLINK(SUBSTITUTE(LinkedIn_Profile__c, 

LEFT($Api.Partner_Server_URL_260, FIND( '/services', $Api.Partner_Server_URL_260)), ''), 

IMAGE("http://www.shebrand.com/wp-content/uploads/2010/07/icon_linkedin1.png","linkedin",15,15)))

do you have any suggestion? 

thank you
2 个回答