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
StefanStefan 

Hyperlink help with syntax

I currently have a link on the contact link section created by ExactTarget:

 

http://members.exacttarget.com/Integration/SalesforceUI/SFResubscribe.aspx?subtype=Contact&sfid={!Contact.Id}&sessid={!API.Session_ID}&sessurl={!API.Partner_Server_URL_60}

 

I would like to create this link as a formula field using Hyperlink() but am struggling with where to put the quote marks in this URL.

Best Answer chosen by Admin (Salesforce Developers) 
MarkSilberMarkSilber

Here you go. There are some differences when referring to merge fields in formula fields versus custom links and it's somewhat of a pain to get the combination of & and " to work -- but you should be able to use this a reference for the next one you need to do.

 

 

HYPERLINK("http://members.exacttarget.com/Integration/SalesforceUI/SFResubscribe.aspx?subtype=Contact&sfid="& Id &"&sessid="&$Api.Session_ID&"&sessurl="&$Api.Partner_Server_URL_60&"","Exact Target")

 

 

 

All Answers

MarkSilberMarkSilber

Here you go. There are some differences when referring to merge fields in formula fields versus custom links and it's somewhat of a pain to get the combination of & and " to work -- but you should be able to use this a reference for the next one you need to do.

 

 

HYPERLINK("http://members.exacttarget.com/Integration/SalesforceUI/SFResubscribe.aspx?subtype=Contact&sfid="& Id &"&sessid="&$Api.Session_ID&"&sessurl="&$Api.Partner_Server_URL_60&"","Exact Target")

 

 

 

This was selected as the best answer
StefanStefan
Thanks Mark, that works perfectly
MarkSilberMarkSilber

Glad I could help. If you get a chance, can you please mark the response as an "Accepted Solution" so others can easily find it?

 

Thanks.

StefanStefan

Hi Mark, I did look for that option but it seems to have dissapeared in Internet Explorer (screen is all over the place)

 

Is it possible for you to make it as the 'Accepted Solution' on my behalf