Answers Tab
App Portal 2021 R1
If you created a question with a format of Checkbox List, Dropdown List, or Radio Button List, the Answer tab of the Question Properties dialog box is enabled and you are prompted to enter the possible answers to these questions.
You can select Manual Entry to specify the values for items such as drop down lists and radio buttons. You also have the option of selecting From Web Service so that this list can be linked to a web service that returns a list of values.
Question Properties Dialog Box / Answers Tab - List
When you click Add New Record, additional fields are displayed:
Question Properties Dialog Box / Answers Tab - New Record
When defining a new answer, enter the following information:
Property |
Description |
Manual Entry |
Select this option to manually enter possible answers for this question. |
From Web Service |
Select this option to obtain possible answers for this question from a web service which you specify. You can write the web service using the sample file found in the following location: [AppPortalInstallationDirectory]\Web\WS\SampleQuestionAnswers.asmx For more information, see Providing Answers Using a Web Service. |
Answer Text |
Enter the value that will be displayed in the drop down list, such as Engineering. |
Answer Value |
Enter the value that will be recorded for this selection, such as ENG. |
Apply Role |
Select a role. |
Message |
Enter additional information. |
Providing Answers Using a Web Service
If you want to provide answers to a question using a web service, select the From Web Service option on the Answers tab of the Question Properties dialog box.
Selecting the “From Web Service” Option on the Answers Tab
When creating the web service, use the provided sample file, SampleQuestionAnswers.asmx, that is installed in the following location:
[AppPortalInstallationDirectory]\Web\WS\SampleQuestionAnswers.asmx
See Also