Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Line breaks when passing "description" parameter to Email form (Xrm.Navigation.openForm)

$
0
0

Hi all,

How is it possible to pass line breaks to "description" field on newly opened email form (Xrm.Navigation.openForm)?

When I'm doing this like that:
parameters["description"] = "Dear xxx, \r\n This is an automatic mail from CRM. \r\n" +
'I kindly request you to assign a new number for the Account: \r\n \r\n" ... etc

The \r\n unfortunately doesn't work. I've also tried with \n and <br\> (with encodeURIComponent). It all ends up as a single line of text.

Is there any other way? Or maybe I'm doing something wrong, so someone could show a working example of above methods?


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images