| SurveyControllerGetScopeVariablesFromSurveyObject Method |
Returns a dictionary with "scope variables" (that is, values for the scope variables) that the user has entered in the survey initiation form.
The scope variables are stored in an xml format in the SURV_SCOPEVARS 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>> GetScopeVariablesFromSurveyObject(
int surveyId,
IEnumerable<ScopeVariable> allowedVariables
)
Parameters
- surveyId
- Type: SystemInt32
- allowedVariables
- Type: System.Collections.GenericIEnumerableScopeVariable
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