You need to sign in to do that
Don't have an account?
Open hyperlink on button click
Hi,
I am trying to open a hyperlink on my account record. I have field website on Account. I have created a button which will open the website.
i treid with URL but its adds the salesforce url and than addes the website
Could any one provide me the sloution.
Thanks
ShaT
I am trying to open a hyperlink on my account record. I have field website on Account. I have created a button which will open the website.
i treid with URL but its adds the salesforce url and than addes the website
Could any one provide me the sloution.
Thanks
ShaT
window.open('http://{!Account.Website }','_blank')
Website is your field name.
If this solves your problem, kindly mark it as the solution.
All Answers
You can do this by creating new custom button of that object where select "Display Type" as "Detail Page Button" and "Content Source" as "Onclick Javascript" and add below line in formula field:
add this button to your page layout.
If this solves your problem, kindly mark it as the best answer.
Thanks,
Vatsal
window.open('http://{!Account.Website }','_blank')
Website is your field name.
If this solves your problem, kindly mark it as the solution.