DatStat Illume SDK Help

Adding and Managing Survey Hooks

There are two styles of hooks available for use in a DatStat Illume survey. The first style allows HTML content to appear where the hook is called within the survey at arbitrary points. This style of hook is called "Runtime-Content". Runtime content is both a survey object and a hook type. Being a survey object like survey Questions, Text/HTML, and Collections, Runtime Content survey objects can be placed in a survey wherever the survey designer sees fit. Runtime Content survey objects allow the survey designer to point to a DLL and select a class within that DLL which implements the interface for the hook type "Runtime-Content". When a survey object of type Runtime Content is encountered in the survey, the DatStat Illume Collector runtime will execute the code specified in the Runtime Content object and will then display any HTML, if any, which is passed back by the call.

The other styles of hooks are used to hook in to the DatStat Illume Collector at predetermined points. These styles of hook make up the remaining three types of hooks available to the SDK developer and are represented by the hook types "Pre-Authenticate", "Post-Back", and "Submit". Since these hook types have survey object wrapper, they must be declared in a general fashion for the entire survey.


Next: Declaring Survey Hooks