Save and resume interviews in Web Determinations

What do you want to do?

Use the default file based persistence behavior

Add custom persistence behavior via a data adapter

Automatically save and resume interviews

Saving data from a Web Determinations interview to an external data source

Use the default file based persistence behavior

The default is XDS Data Adaptor

Add custom persistence behavior via a data adapter

Basically, a Data Adaptor allows the developer to create a custom way for the interview session data to be saved to a data source that they want.

The Data Adaptor controls the way the Save/Load buttons in the interview and how/where they save.

Usually it also allows the user to specify the name to save the session as.

Automatically save interviews

Saving interviews at pre-defined points during an investigation can be accomplished by creating an event handler which fires at the point in which the data is to be saved and invokes the save data method on the interview session; the following Events may be useful in this regard:

 

Event To...
OnCommitEvent Automatically save any data that has been committed to the session.
OnRenderScreenEvent Automatically save data when a particular screen, or any screen is displayed.
OnInvestigationEndedEvent

Automatically save data once an investigation has been completed.

See also:

Events and Event Handlers

Automatically load interviews

Previously persisted interview data can be automatically loaded into a Web Determinations session in either one of two ways:

See also:

Events and Event Handlers

Save data from a Web Determinations interview to an external data source

For information on saving data from a Web Determinations interview to an external data source, go to: Data Adaptor plugin overview.