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
Pooja NekkalapudiPooja Nekkalapudi 

url formula field

Trying to add a Formula field ( which is a Hyperlink) on to the list view of contacts which on clicking takes you to the "send a email" salesforce functionality
Formula field :
HYPERLINK("https://test.salesforce.com/_ui/core/email/author/EmailAuthor?p2_lkid=contact.Id&rtype=003&p3_lkid =AccountId&retURL=/003?fcf=00BV0000001B5re","Send Email" )

Everything works except contact id and account id dont get pre populated they return blank.
 
Best Answer chosen by Pooja Nekkalapudi
Pooja NekkalapudiPooja Nekkalapudi
Got it to work
HYPERLINK("https://test.salesforce.com/_ui/core/email/author/EmailAuthor?p2_lkid="&Id&"&rtype=003&p3_lkid="&Account.Id&"&retURL=/003?fcf=00BV0000001B5re","Send Email")