I'm trying to add a link to an outside url (in this case LinkedIn) which includes the contacts first and last name. Something like:

url_pre+{!Contact.Firstname} + "+" + {!Contact.LastName} + url_post 

It seems like this should be simple to do under Actions/Buttons/Links but Lightning doesn't like Javascript or url buttons from my research and previous attempts.

What is the best/easiest way to do this in Lightning? I'm specifically looking for something that involves as little effort/clicks on the UI as is practical.


1 Answer 1


Can you check this link as per the salesforce notes the URL buttons are now getting supported,


Well I think I have got the trick for you. I enabled lightning in my org and I created a formula field of text type. And used this formula

HYPERLINK("https://www.google.com", "Linkedin", "_blank")

This formula jumped me out of Salesforce to google in a new tab.

Hope this will help you.

  • And now I feel stupid, I was looking in the wrong place for where it put the URL link in the layout. It said header and I instantly assumed it'd be at the top of the page.
    – ZRich
    Jun 2, 2016 at 15:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .