DIAL Code generation

This page details the functionality of DIAL code generation through sourcing solution.

 

Overview

A DIAL code is a unique code associated to a QR image. A DIAL code can be linked to any learning asset. However, sourcing solution currently enables generating DIAL codes for a collection and link them to the root as well as any node in its hierarchy.

DIAL codes can be generated and linked to a draft version of a collection.

Configure DIAL code generation capability

DIAL code generation capability can be configured as part of a Primary Category definition for any collection category using an attribute “Generate DIAL codes”. The attribute can take the values of “Yes” or “No”. Default is “No”.

Generate DIAL Codes

If “Generate DIAL codes” attribute is configured as “Yes” to a collection category, the collection editor provides an option to generate and link DIAL codes to that collection category.

The editor would have an option of “Generate DIAL Codes”. The DIAL codes can be generated in two ways:

  1. Before creating any nodes in the hierarchy, DIAL codes can be generated for the collection by giving the number of DIAL codes to generate

  2. After creating nodes in the hierarchy, each node can specify whether DIAL code is required for it. Generate DIAL codes generates DIAL code for each nodes with DIAL code as required + 1 for root node.

The generated DIAL codes can be downloaded as a zip file containing the set of QR images. The zip file naming convention is <<do_id of the collection>>_<<name of the collection>>_<<timestamp>>

Link DIAL Codes

Collection editor provides UI to link (add, edit. remove) DIAL codes at root level as well as the nodes for which DIAL code is required. The information is stored in the backend.

Error scenarios

TBD - This will be same as existing behavior.

 

In which repo will DIAL Codes created and linked to textbooks (or other contents) reside? DIAL codes can be created and linked to draft version of a collection. Hence, will they also have a copy in both sourcing and consumption repos?