Survey inside Service Portal Page

sudharsanv36
Kilo Guru

Hello Experts,

I have a requirement to list the number of Surveys to be taken by the logged in user on the Header part of Service Portal. Please refer the below picture.

I have modified the OOB Header menu with the new menu item which brings all the pending surveys with a button embedded to it. But I am not sure how to implement the button functionality Once the user clicks on it, he need to see the Survey within the Service Portal.

Can anyone enlighten me, if you did the similar kind of task
find_real_file.png

This is my widget

find_real_file.png

nathanfirth - need your help here

Thanks in advance

9 REPLIES 9

Brad Tilton
ServiceNow Employee
ServiceNow Employee

If you're on Istanbul, there is a My Surveys widget that comes from a homepage that you can use as a template to build your menu.



Surveys in Service Portal


sudharsanv36
Kilo Guru

Hi Brad,



We are developing Service Portal on Helsinki and My requirement to show the OOB Survey that has been designed using the Survey Designer.



Kindly let me know your thoughts.


Your best bet is to upgrade to Istanbul and use the oob survey support. If that's not a possibility I would grab an Istanbul developer instance from developer.servicenow.com, take a look at the survey widgets in service portal, and use those as templates to create widgets for your Helsinki instance.


Brad - That is exactly what we did, but the issue we are running into is the buttons show as ${buttonname}. I looked around, but didn't see exactly where the button name is coming from. Along with that if you look at the angular for spSurveyChoiceList there is a line in there that says


var chooseLabel = '-- ' + '${Choose}' + ' --';

This is showing up in Helsinki as --${Choose}--.


Any idea what to change here or what I am missing?


We do not want to upgrade to Istanbul until after June due to our current roadmap.