assigned to name on survey

Brian Lancaster
Tera Sage

Does anybody know if there is a way to display the assigned to name of the survey.   I have a requirements where they want to add more questions to the survey but at the top they want an into on who the assigned to was.   See screenshot below.

survey.png

11 REPLIES 11

What do you mean by a section header.   I tried putting it in a default value of a single line text box but it just display javascript:RP.getParameterValue("agent") .


siva_dirisala
ServiceNow Employee
ServiceNow Employee

Hello Brian, there is a way to do this, but I wouldn't recommend. If you go to this page on Legacy Surveys, http://wiki.servicenow.com/index.php?title=Legacy:Creating_a_Survey#Step_2:_Add_Questions_to_the_Sur...           you would see at the end a way to customize the survey_take page to make the introduction field to be evaluated as a script. However, for it to be evaluated as a script, you have to follow a bunch of steps one of which is setting a property to false. However, the default for that property is true as per the "High Security" settings http://wiki.servicenow.com/index.php?title=High_Security_Settings#gsc.tab=0.



Another option at this time would be to create a custom UI macro that normal survey admins can't modify and have your logic in there and modify the survey page to include that macro. All of this will work only if you want your custom display either at the top or bottom of the page, not at a specific question level.


neha_chauhan
Tera Contributor

Hello Brian,

Were you able to fulfill this requirement. Can you please guide me on how to display assigned to user's name on the survey.

No I never got an answer on this.

Also note that when I posed this the company I was working at was still using legacy surveys and not assessments. So some of the responses above may have been correct.