Create a Survey pop-up within Service Portal

nathantenaglia
Tera Expert

Hi all,

We'd like to establish a simple Service Portal feedback survey exactly like the ServiceNow HI portal.

portal survey.jpg

We require assistance establishing the following:

1. Does anyone know how to create the survey (see above) via a widget that "pops up" when a "Feedback" button is clicked?

2. Where does the data get populated into?

Some help on this would be really appreciated. I'm pretty confident there will be a lot of other people that would get value from this as well. So would be good to have a thread with clear and concise responses.

6 REPLIES 6

nathantenaglia
Tera Expert

Bump! Hoping someone has worked this out and willing to share some code?


stefan vinamra Hi guys can someone help with how we did this?


Vinamra Misra
ServiceNow Employee
ServiceNow Employee

Hi,



This widget which you see above is a custom implementation and does not use the underline survey schema.



We created a new table which uses the Document ID and Document class to link a feedback with the Page, so in this case document name will be sp_page and ID being the sys_id of the page. You can extend this to any other class type as well with this design.



For the UI you can use $uibModal (Angular directives for Bootstrap) in the controller and create a ng-template [sp_ng_template] which can be instantiated using events.



You can find some SP document here - GitHub - service-portal/documentation: Here you will find unofficial documentation for the ServiceNo...



Thanks,


Vinamra


Hi, 

Is there a video I can watch of how to do this please? I need it from the very beginning including how to create a new table. 

 

Thanks, 

Lisa