How do I add an emoji to Survey or Assessment?

mary_lindell
ServiceNow Employee
ServiceNow Employee

I presented the new Istanbul Survey Designer, there was a question about how to add an emoji response.

17 REPLIES 17

Hi,



Right now functionality to embed the Emoji's in Email is not available in Service Now. We had the similar requirement to Embed Emoji's in Emails, since this is not available we have created custom UI page to handle survey responses based on the emojis [embeded in email notification using mail script] what they select from emails.



Thanks,


Divya


Hello Divya,


we are designing a new survey and want to use emojis for the initial question response in an email that can be clicked on to link to the survey which then would have that initial question presented with their choice selected, and then as well to present additional questions with emoji's used for the possible answers.   How did your surveys turn out and if you could share any insight in to how you set it up would be great.   thanks!



Patrick


Hi Patrick,



Since we are using Helsinki version we tried to create a custom survey with emojis and custom table to store the response.


--> Create a notification with the message body embedded with emojis as image tag and redirect them to custom ui page when it is clicked.


Below is the mail script example, we have 3 emojis namely (satisfied,quiteok, unsatisfied) each will be given a choice value(1,2,3) to identify.



var url1='<br><br><table><tr><td><a href="'+gs.getProperty('glide.servlet.uri')+'Survey_Feedback_en.do?sys_id=0c5477934f5df200477269118110c7a4&choice=1&ticket='+current.sys_id+


'&caller='+current.caller_id+' "><img src="'+gs.getProperty('glide.servlet.uri')+'Satisfied.png"   /></a></td><td>';




var url2='<a href="'+gs.getProperty('glide.servlet.uri')+'Survey_Feedback_en.do?sys_id=0c5477934f5df200477269118110c7a4&choice=2&ticket='+current.sys_id+


'&caller='+current.caller_id+' "><img src="'+gs.getProperty('glide.servlet.uri')+'Quiteok.png"   /></a></td><td>';




var url3='<a href="'+gs.getProperty('glide.servlet.uri')+'Survey_Feedback_en.do?sys_id=0c5477934f5df200477269118110c7a4&choice=3&ticket='+current.sys_id+


'&caller='+current.caller_id+' "><img src="'+gs.getProperty('glide.servlet.uri')+'NotSatisfied.png"   /></a></td></tr></table>';


template.print(url1);


template.print(url2);


template.print(url3);



on click of the emoji it would recirdct to the ui page with choide,ticket no,caller id. We retrieve this information from URL in Client script of ui page and process the response


-->Create a public ui page which would consist of survey questions embeded in some <div> tag. Based on the emoji clicked the div tag should be displayed accordingly.


--> create one custom response table to store all the responses against the ticket number.



please let me know if it helps you.



Thanks,


Divya Lakshmi.


Thanks Divya for the reply.   So you built your survey without using the "Survey" application and modules (Survey Designer) at all, correct?   We are on Helsinki...and it does not appear to be possible to add images at all to survey questions using the Survey Designer, so we are looking at methods like yours.


and also Divya, were you able to put emojis on your UI Page?