| SurveyControllerGetSettingsFromSurveyObject Method |
Returns a dictionary with "survey settings" (that is, values for the survey settings) that the user has entered in the survey initiation form.
The settings variables are stored in an xml format in the SURV_SETTINGS property on the survey object type.
Namespace:
Omada.OE.Solution.OIM.AppLogic.SurveyFeature
Assembly:
Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic Dictionary<string, List<string>> GetSettingsFromSurveyObject(
int surveyId,
IEnumerable<SurveySetting> allowedVariables
)
Parameters
- surveyId
- Type: SystemInt32
- allowedVariables
- Type: System.Collections.GenericIEnumerableSurveySetting
Must contain the scope variables that the survey template allows.
Return Value
Type:
DictionaryString,
ListString
Returns a dictionary with scope variable values.
Keys are scope variable names - ex: "@myvariable"
Values are values for the scope variables - in string format.
See Also