Populating a question template
You can use a question template to define more than one simple question at a time. By using a file format that your application processes in bulk, you can speed up the development of your surveys.
-
Download the question template.
- Click Designer Studio > Case Management > Survey.
- On the Questions tab, click Import questions.
- Click Download template to save a Microsoft Excel file to your local machine.
- Open the file.
-
For each question to create in bulk, populate a row in the file.
-
Provide text for each question.
- To use plain text:
-
In the Question Layout column, select plain.
-
In the Question Plain Text column, enter the question text.
-
- To use styled text:
-
In the Question Layout column, select rte.
-
In the Rich text question content column, enter question text that includes HTML tags.
For example, you can use the
<em>
tag to italicize your question text.
-
- To use plain text:
-
Configure the answer format for each question.
- Attachment:
-
In the Answer Mode column, select File.
-
- Text area, Text box, Date, or Date/time:
-
In the Answer Mode column, select freeform.
-
In the Answer Freeform Format column, select an option that corresponds to your answer format.
-
- Check box:
-
In the Answer Mode column, select checkbox.
-
- Radio buttons:
-
In the Answer Mode column, select radio.
-
In the Answer option labels column, enter a comma-separated list of the choices that users can select.
-
In the Answer option values column, enter a comma-separated list of the values that map to the choices that users can select.
-
In the Radio button label orientation column, choose whether the choices are stacked or side-by-side.
-
To control how much screen space is used by horizontal radio buttons, enter an integer in the Number of items before wrap column.
-
- List:
-
In the Answer Mode column, select dropdown.
-
In the Answer option labels column, enter a comma-separated list of the choices that users can select.
-
In the Answer option values column, enter a comma-separated list of the values that map to the choices that users can select.
-
- Custom section:
-
In the Answer Mode column, select section.
-
In the Section Reference column, enter the name of a section that is in the same class path as the question.
-
- Attachment:
- In the Answer layout direction column, choose whether the question and answer are stacked or side-by-side.
- To change where your application stores the answer to a question on the clipboard, enter a property name in the Answer Property column that is in the same class path as the question.
- To validate the answer that users provide at run time, enter the name of an edit validate rule in the Validation column that is in the same class path as the question.
- Save and close the file but do not change the file format.