Survey thanks message

SKum
Kilo Sage

Hi All,

       Once i submit the survey on Portal the "Thanks for taking the survey, your opinion counts!" wont appear instead i see a blank page. Please see attached

We started seeing this issue after upgrading instance to LONDON.

 

 

Thanks

Sirish mfind_real_file.png

1 ACCEPTED SOLUTION

SKum
Kilo Sage

Resolved this Updated script Include - SPSurveyAPI

 

Thanks all for your responses!

 

View solution in original post

13 REPLIES 13

Hi,

So when you go to Survey > View Surveys > and click record for the survey in question...when you go to the "Introduction & End Notes" tab...do you see an End note there? If not...fill that in.

Please mark reply as Helpful/Correct, thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

I do have the end notes please see attached..

 

find_real_file.png

Hi,

Can you create a new survey to test that out and see if it functions properly? If the thank you message shows for the new survey, then it could be that your old one needs to be recreated and the upgrade caused some sort of glitch/issue.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Allen,

    I created a new survey but still it is same..

 

Hi,

Can you navigate in your back-end to: System UI > UI Pages and then find the record for "assessment_thanks".

Do you have a record there? If it's missing, this may be why you're having problems.

You could try and export this from another instance that does have it to replicate it...or maybe you could recreate it...it's called: assessment_thanks and this is the html for mine, you can use:

<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">

	<g:evaluate var="jvar_assessment_type" jelly="true">
		var metricGR = new GlideRecord("asmt_metric_type");
		metricGR.addQuery('sys_id', jelly.sysparm_assessable_type);
		metricGR.query();
		var evaluation_type = gs.getMessage('assessment');
		if (metricGR.next())
			evaluation_type = metricGR.evaluation_method.getChoiceValue().toLowerCase();
		else
			evaluation_type = jelly.sysparm_assessment_type ? jelly.sysparm_assessment_type : evaluation_type;
		gs.addInfoMessage(gs.getMessage('You have completed this {0}', evaluation_type));
		evaluation_type;
	</g:evaluate>
	<div data-form-title="$[gs.getMessage('You have completed this {0}', '${jvar_assessment_type}')]">
		<g2:evaluate var="jvar_item" jelly="true" expression="
			gr = new GlideRecord('asmt_metric_type');
			gr.addQuery('sys_id', jelly.sysparm_assessable_type);
			gr.query();
		" />	
		<j2:if test="$[gr.next()]">
			<!-- end_note may contain HTML formatting -->
			<g2:no_escape>$[NS:gr.end_note]</g2:no_escape>
		</j2:if>
	</div>
</j:jelly>

Please mark reply as Helpful/Correct. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!