Organization Content

Snippets

Published 2026/07/09

Snippets are reusable code assets that can be embedded into task interfaces and portal pages to extend their behavior beyond the standard configuration. There are four kinds of snippets, each serving a distinct purpose.

Data Sources

Data sources provide dynamic data that can be referenced inside task interfaces — for example, fetching a list of options to populate a question.

Templates

Templates are reusable HTML/CSS markup blocks that can be injected into task or portal page layouts.

Functions

Functions are reusable JavaScript logic blocks that can be called from within task interfaces to perform calculations or transformations.

Handlers

Handlers are event-driven code blocks that respond to specific events within a task interface, such as a candidate submitting an answer or navigating between questions.