URL Text box carriage returns

  • 1
  • Question
  • Updated 3 years ago
This may be more of a general SF question.

I have a row action to create an email with details from a task.  I am populating the subject and body with various fields from the object.  Everything is working great except the description(body) is being input with no carriage returns so it is showing like a large block of text.

Is there anyway to make sure the formatting of the text box appears correctly in the email that is created?

Thanks,
Scotty
Photo of Scotty

Scotty

  • 282 Points 250 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
I'm guessing that when the body gets included in the URL parameter creating the email - all HTML characters are getting stripped out. 

Have you tried with the {{#urlEncode}}  merge syntax?   Look here:  http://help.skuidify.com/m/11720/l/187263-global-merge-variables-functions

Or are you using some other method of passing the data into the new email...
Photo of Scotty

Scotty

  • 282 Points 250 badge 2x thumb
Rob,

I am not sure that is what I am looking for.

Here is my redirect to url link: (I added breaks so it is readable here)

mailto:?subject={{Subject}}&body=Account%20Name:%20{{Account.Name}}%0D%0A
Related%20To:%20{{What.Name}}%0D%0A
Contact%20Name:%20{{Who.Name}}%0D%0A
Completion%20Date:%20{{Completed_Date__c}}%0D%0A
Username:%20{{Owner.Name}}%0D%0A
%0D%0A
Regarding:%20{{Subject}}%0D%0A
%0D%0A
Notes:%0D%0A{{Description}}