Is there a way to show a title question for a Survey Template?

Wayne Richmond
Tera Guru

I have created a survey with a Template Control that has a number of questions. I would like to add a question above it that summarises the questions in the template, e.g., 

Q. Thinking about the specific areas listed below, please rate how you feel about the overall service / performance for each of the areas.

find_real_file.png

Does anyone know the best way to ahceive this? Thanks

12 REPLIES 12

Wayne Richmond
Tera Guru

UPDATE: THIS NO LONGER APPEARS TO WORK

I managed to achieve what I wanted but it was a bit of a hack:

find_real_file.png

I created a new String metric above my Template metric, then exported the record an XML file. I edited the file and removed the Type (datatype) value:

find_real_file.png

I imported the XML and what you have is a question with no field. Works well for me needs. 

Hi, 

why do i still get this when I delete the data type and delete the min and max?

<?xml version="1.0" encoding="UTF-8"?>
<unload unload_date="2022-09-18 09:35:02">
<asmt_metric action="INSERT_OR_UPDATE">
<active>true</active>
<add_info_label>Additional Information</add_info_label>
<allow_add_info>false</allow_add_info>
<allow_not_applicable>false</allow_not_applicable>
<auto_gen>false</auto_gen>
<category display_value="To help us continue to connect, learn, and adjust, please share your thoughts, needs and recommendations.">9674e5801b8e1510aeb37739cd4bcb92</category>
<cond_question>always</cond_question>
<condition/>
<context display_value=""/>
<correct_answer/>
<correct_answer_checkbox>1</correct_answer_checkbox>
<correct_answer_choice/>
<correct_answer_template/>
<correct_answer_yesno>1</correct_answer_yesno>
<custom_metric display_value=""/>
<datatype></datatype>
<default_value_field/>
<depends_on display_value="Division">ad15ad801b8e1510aeb37739cd4bcb3c</depends_on>
<description/>
<details/>
<displayed_when>cc65e1c01b8e1510aeb37739cd4bcb79,e2cca44d1b861910aeb37739cd4bcbf7,e6cca44d1b861910aeb37739cd4bcbec,e6cca44d1b861910aeb37739cd4bcbfc,eecca44d1b861910aeb37739cd4bcbf1,1645e1c01b8e1510aeb37739cd4bcb53</displayed_when>
<displayed_when_checkbox>1</displayed_when_checkbox>
<displayed_when_template/>
<displayed_when_yesno>1</displayed_when_yesno>
<duration/>
<field_validation display_value=""/>
<mandatory>false</mandatory>
<max></max>
<max_weight/>
<maximum_normalization_input>false</maximum_normalization_input>
<method>assessment</method>
<metric_type display_value="Employee survey 2022">2c26f87b1b7dd110aeb37739cd4bcbe4</metric_type>
<min></min>
<name>(1) Please share your personal opinion regarding the following statements:</name>
<order>1500</order>
<plugin/>
<question>Please share your personal opinion regarding the following statements:</question>
<randomize_answers>false</randomize_answers>
<read_only>false</read_only>
<reference_table/>
<scale></scale>
<scored>false</scored>
<script><![CDATA[// The following variables are available:  // - primary: contains the sys_id of the assessable object to be evaluated  // - string_result: the script sets the display string value for this metric to this variable  // - actual_result: the script sets the actual value for this metric to this variable  // - scaled_result: the script sets the scaled value (used in calculations) for this metric to this variable  //  // For example: // var gr = new GlideRecord('cmdb_ci'); // gr.addQuery('manufacturer', primary); // gr.query(); // actual_result = gr.getRowCount(); // string_result = actual_result + ''; // if (actual_result &gt; 100) scaled_result = 5; // else scaled_result = 1;]]></script>
<source_field/>
<string_option>short</string_option>
<sys_class_name>asmt_metric</sys_class_name>
<sys_created_by>along</sys_created_by>
<sys_created_on>2022-09-18 09:34:50</sys_created_on>
<sys_domain>global</sys_domain>
<sys_domain_path>/</sys_domain_path>
<sys_id>738445c11b0a1910aeb37739cd4bcb48</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>(1) Please share your personal opinion regarding the following statements:</sys_name>
<sys_package display_value="Global" source="global">global</sys_package>
<sys_policy/>
<sys_scope display_value="Global">global</sys_scope>
<sys_update_name>asmt_metric_738445c11b0a1910aeb37739cd4bcb48</sys_update_name>
<sys_updated_by>along</sys_updated_by>
<sys_updated_on>2022-09-18 09:34:50</sys_updated_on>
<template display_value=""/>
<u_assignment_group display_value=""/>
<value_parameters/>
<weight>10</weight>
</asmt_metric>
</unload>

How did u import the xml 

Hello ,

It is not working for me Can u explain the process.