Adding thums up symbol in Survey notification email

basava
Tera Contributor

After Closing the incident, our Clients want to get Survey notifications with Thumps up for all ok and thumps down for not satisfactory.

Can we add Thumps up / down in Survey notifications?

7 REPLIES 7

bubuprasadswain
Tera Guru

step1: add a thumbs up image to db_image naming "thumbup.png"


Step2: Goto 'survey_take' UI page // or your survey page


Step3: go to client script section of ui page and add below code-


              var tup = document.createElement("img");


              tup.setAttribute("src", "thumbup.pngx");


              document.getElementById("QUESTION:d14d2b33c0a8000900e51510df6be521_d1e1f476c0a8000900412f4bee45e5c7").parentElement.appendChild(tup); // first sys_id after question is the sys_id of question and second sys_id is the sys_id for question choice.



Similarly you can add Thumbs Down for other choice as well.



Please Mark Correct/Helpful/Like.


Regards,


Bubuprasad


Hello Bubu,



Do i need to open the UI Action "Take Survey" and there add this code?


Go to System UI -> UI Pages -> Search for name is 'survey_take' and in client script section add above mentioned code.


After addition you will be seeing result like below:


find_real_file.png


Please Mark Correct/Helpful/Like.


Regards,


Bubuprasad