DatStat Illume 4.5 SDK Class Reference

HookContext.SetUserData Method 

Sets the value of the named User Data.

public void SetUserData(
   String dataName,
   String dataValue
);

Parameters

dataName
dataValue

Remarks

The SDK developer can use User Data to store values that they wish to persist accross post-backs from the survey participant. These data can be accessed by the survey to set for calculation/display purposes by using the piping tag {USERDATA: <userDataName>} within the survey, or to store important data that subsequent hook code may reference.

Note that User Data are not stored with the survey upon submission unless there is a survey Calculation whose definition references that User Data for storage.

See Also

HookContext Class | DatStat.Collector Namespace | GetUserData