Can we hide the initial Take Survey Service Portal page and directly display the survey?

pat6907
Kilo Contributor

Hello All

We are using the Kingston patch 9 build.

We have a notification that generates an email that has smiley face rating in it.  When the specific smiley face is selected, the survey is opened and the first question is populated in the ITIL view. The trouble is the left nav pane is displayed and management doesn't want that. We have not been able to hide the left nav panel in the itil view for all of the users when the survey is opened, so we are trying to go through the service portal.

When the specific smiley face is selected in the email, the service portal opens the survey to the page below and breaks the ability to prepopulate the first answer in the survey.

Is there a way to configure the initial service portal page below to be hidden so we can open the survey up in the service portal and continue to prepopulate the first question of the survey from our code?

 

Many thanks,

Pat

 

find_real_file.png

1 ACCEPTED SOLUTION

TapioSC
Mega Contributor

Hi Pat

In the Portal widget "Take Survey", on the Client Controller line 12 is "c.state = -1;".
Change that -1 to 0 and you are set.

Br.
Tapio

P.S. I'm too working on setting the first answer for the survey.
Could you share your findings?

View solution in original post

3 REPLIES 3

TapioSC
Mega Contributor

Hi Pat

In the Portal widget "Take Survey", on the Client Controller line 12 is "c.state = -1;".
Change that -1 to 0 and you are set.

Br.
Tapio

P.S. I'm too working on setting the first answer for the survey.
Could you share your findings?

pat6907
Kilo Contributor

Thanks Tapio,

That's exactly what we wound up doing.

Much appreciated

Pat

 

Phonsie Hevey1
Tera Expert

In the Survey Designer there's a check box for this now, see below. I assume this controls that setting in the OOTB widget now. Note for some reason I couldn't get this checkbox to save while working in the standard view.

find_real_file.png