Click or drag to resize

SurveyObjectCommandHelperBuildObjectCommand Method

Builds a "command" to update a survey object's property values and optionally auto-complete the workflow step. The result can be used for calling the UpdateSurveyObjectsChanges() method.

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 SurveyObjectCommand BuildObjectCommand(
	int surveyId,
	string objectKey,
	PropertyValuesContainer propertyValues,
	bool markStepCompleted = false,
	bool skipValidation = false
)

Parameters

surveyId
Type: SystemInt32
objectKey
Type: SystemString
propertyValues
Type: Omada.OE.ModelPropertyValuesContainer
Property values that we want to update the survey object with. Doesn't have to contain values for all properties. The present properties must, however, have all their values in the container. The method compares the property values with the ones that the survey object currently has and only updates those properties that are modified.
markStepCompleted (Optional)
Type: SystemBoolean
skipValidation (Optional)
Type: SystemBoolean
If true, it skips the survey required fields validation.

Return Value

Type: SurveyObjectCommand
See Also