Click or drag to resize

ScopeVariable Class

Model class for a Scope variable used in a Survey template
Inheritance Hierarchy
SystemObject
  Omada.OE.Solution.OIM.AppLogic.SurveyFeatureSurveyVariableBase
    Omada.OE.Solution.OIM.AppLogic.SurveyFeatureScopeVariable

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
Syntax
C#
public class ScopeVariable : SurveyVariableBase

The ScopeVariable type exposes the following members.

Constructors
  NameDescription
Public methodScopeVariable
Top
Properties
  NameDescription
Public propertyDataType
Data type of the variable.
(Inherited from SurveyVariableBase.)
Public propertyDerivedValues
Reference path that is evaluated using the scope variable's referenced dataobject(s) as staring point. DerivedValues can only be used if Property is a Reference property. Can be null.
Public propertyDeriveLevels
Number of recursions to make using DerivedValues. Must be 0 or greater.
Public propertyName
Technical name of the variable.
(Inherited from SurveyVariableBase.)
Public propertyProperty
System name of a property in ES that defines whether it is a single- or multi-valued variable and the UI control type. The property must match the specified DataType. Note: the property is not necessarily used on the survey object type - it just has to be defined in ES.
(Inherited from SurveyVariableBase.)
Public propertyRequiresValue
Is variable required (only used client side)
(Inherited from SurveyVariableBase.)
Public propertyShowInUI
Should variable be displayed when starting survey (only used client side)
(Inherited from SurveyVariableBase.)
Public propertyTitle
Displayed in the UI.
(Inherited from SurveyVariableBase.)
Top
Methods
  NameDescription
Public methodStatic memberGetScopeVariable
Public methodToString
(Inherited from SurveyVariableBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also