📔Configure and Import ODK Form

This document provides step-by-step instructions for configuring the ODK central into the PBMS and importing the ODK form. After importing the ODK form, only the fields and their values customised using the JSON formatter are included in the individual/group registries of the PBMS.

Note:

Every ODK form must have its own ODK importer.

Prerequisites

  • A user must have an Administrator role to access ODK Central in OpenG2P systems.

  • A user must know the pyjq syntax to customise the value in the JSON Formatter fields.

Procedure

ODK screen is displayed. You can find two tabs.

ODK Import

By default, ODK -> ODK Import page is displayed.

  1. Click the New button.

ODK Import New screen is displayed.

The fields and their descriptions are given below.

  1. Customize the ODK Importer based on the ODK form fields

Configuration

  1. Click the tab Configuration in the menu bar.

Configuration screen is displayed.

  1. Click the New button.

Configuration New screen is displayed.

The fields and their descriptions are given below.

  1. Enter the valid values to access ODK Central in OpenG2P systems.

Sample ODK form URL

Test Connection

Test Connection feature establishes the connection between ODK Central and PBMS.

  1. Click the Test Connection button.

If the Test Connection feature connects the ODK Central and PBMS successfully, a successful message pop ups.

If the Test Connection feature unable to connect the ODK Central and OpenG2P systems, an error message pop ups.

  1. Click the OK button to exit the dialog box.

Import Records

Import Records feature imports and stores the records in PBMS.

  1. Click the Import Records button.

If the ODK form is imported successfully, a success message pops up.

If no new ODK forms are submitted, ODK form records will not be imported.

You can find the configuration details in the ODK Configuration screen and imported ODK forms' status in the ODK Import screen.

This completes the process of importing an ODK form from ODK Central into the PBMS.

JSON Formatter

Configure the required fields based on the ODK form field using pyjq JSON formatter.

Sample JSON Formatter

Last updated

Logo

Copyright © 2024 OpenG2P. This work is licensed under Creative Commons Attribution International LicenseCC-BY-4.0 unless otherwise noted.