Make the text bold in SMS alternate field

Naveen Kumar J
Tera Expert

Hi SNC,

Users want to to receive bold text of priority label values   as an SMS.

I called the the below mail script in the SMS alternate field, however it is not printing bold   values.

<mail_script>template.print('<b> + current.priority.getChoiceValue() +</b>')</mail_script>

It prints the value but not in bold

Has anyone ever implemented this ?

Thanks,

Naveen

1 ACCEPTED SOLUTION

coryseering
ServiceNow Employee
ServiceNow Employee

Hi NaveenJS,



SMS bodies are text-only. The short version is "it's not part of the spec as implemented by carriers". As such, only plain-text messages are supported.



The long version is "It's possible in SMS; that carries over to MMS, is actually useful in EMS, but no one ueses it".


SMS messages, by and large, have only been implemented in barest form- plain text with a maximum of 160 characters. It actually is technically possible for a carrier to have enabled richer formatting in SMS (at the expense of message length), but in practical use none have. Additionally, the applications people use to display SMS messages typically don't implement the ability to understand them. See here for some more information:


How can someone send bold text in a SMS/MMS message like Starbucks does for their promotional SMS ca...



Even MMS messages don't really do rich formatting- they tend to do text + audio/video media. Again, it's possible to do rich text here, but I don't know of any product which does it.


SMS and MMS | Text Message Marketing



Rich text formatting is available in the EMS spec, but that hasn't been widely adopted either- mostly because of the rise in siloed messaging applications, which can send and receive rich text and data through a proprietary system, but only for messages between users of the same service.


Enhanced Messaging Service - Wikipedia, the free encyclopedia



Maybe when everyone is in iMessage, Hangouts, WhatsApp, or whatever comes next- then we can finally replace all of our message systems with just one that does everything. Right now though, rich content goes into email, short plain-text into SMS.


View solution in original post

1 REPLY 1

coryseering
ServiceNow Employee
ServiceNow Employee

Hi NaveenJS,



SMS bodies are text-only. The short version is "it's not part of the spec as implemented by carriers". As such, only plain-text messages are supported.



The long version is "It's possible in SMS; that carries over to MMS, is actually useful in EMS, but no one ueses it".


SMS messages, by and large, have only been implemented in barest form- plain text with a maximum of 160 characters. It actually is technically possible for a carrier to have enabled richer formatting in SMS (at the expense of message length), but in practical use none have. Additionally, the applications people use to display SMS messages typically don't implement the ability to understand them. See here for some more information:


How can someone send bold text in a SMS/MMS message like Starbucks does for their promotional SMS ca...



Even MMS messages don't really do rich formatting- they tend to do text + audio/video media. Again, it's possible to do rich text here, but I don't know of any product which does it.


SMS and MMS | Text Message Marketing



Rich text formatting is available in the EMS spec, but that hasn't been widely adopted either- mostly because of the rise in siloed messaging applications, which can send and receive rich text and data through a proprietary system, but only for messages between users of the same service.


Enhanced Messaging Service - Wikipedia, the free encyclopedia



Maybe when everyone is in iMessage, Hangouts, WhatsApp, or whatever comes next- then we can finally replace all of our message systems with just one that does everything. Right now though, rich content goes into email, short plain-text into SMS.