preignition/program-user-docs
accessiblesurveys
  • TRAINING COURSE
    • Introduction
    • Session 1- Creating a new survey
    • Session 2- Adding accessibility options to a Form
    • Session 3- Translating a Form into different languages
    • Session 4- Sharing your survey using the Survey Editor
    • Session 5- Analysing your survey responses and exporting your survey data
  • TUTORIALS
    • Introduction to creating a new survey
    • Introduction editing a form
    • Introduction to testing a form
    • Introduction to publishing a form
    • Introduction to Easy Read
    • Introduction to Sign Language
    • Introduction to form logic
    • Introduction to the Customer Portal
  • GUIDANCE NOTES
    • Survey App
      • Creating a new survey
      • Form Editor
        • Structuring a form
        • Adding questions to a form
          • Text based questions
          • Choice based questions
          • Rating, Slider, Order and Range questions
          • Media based questions
          • Introduction to free text fields
        • Testing a form
        • Publishing a form
        • Introduction to form logic
        • Advanced form logic
        • Using tooltips
        • Using Markdown
        • Adding an accessibility menu
        • Form Behaviour
        • Image Library
        • Easy Read
        • Sign Language
        • Translate forms
        • Using import/ export to translate forms
        • Access rights for forms
        • Sharing options across multiple questions
      • Survey Editor
        • Editing a survey
        • Distributing your survey
        • Survey respondent accounts
        • Redirection after completing survey
        • Language settings for surveys
        • Creating alias survey links
        • Survey batches
        • Presenting surveys
        • Survey access rights
        • Survey terms- advanced
        • Publishing surveys
      • Analytics
        • Introduction to survey analytics
        • Exporting Survey Data
    • Customer Portal
      • Portal
        • Profile
        • Subscription
      • Team
      • My Profile
      • Users
      • Using labels
  • FAQ
    • Data privacy and security
      • Why and how do we collect data?
      • How do we protect data?
      • What is GDPR?
      • What rights do individuals have under GDPR?
      • What obligations do controllers have under GDPR?
      • What obligations do processors have under GDPR?
      • Where is data stored?
      • How can I ensure that my surveys GDPR compliant?
      • How to Write GDPR-proof Privacy Policy for your Surveys
    • What is the best image size, ratio and format?
    • How to use free text
      • Convenient Class for Accessible Surveys Free Text Field
      • CSS tokens available in Markdown Free Text
      • Web-components available in Markdown Free Text
      • Accessibility Modes
    • FAQ about the Form Editor
      • How do I resolve warnings when publishing a form?
      • How can I get feedback about my survey?
    • Guide to producing Accessible Surveys
      • Producing your survey in Plain Language or Easy to Read
      • Producing your survey in sign languages
    • FAQ about survey data and analytics
      • How do I ensure that the data in my CSV file is properly formatted?
  • Release Notes
    • Form Builder
      • import/export
      • Section Container
    • Process Builder
    • Reporting
    • Survey
  • API
    • survey
    • member
Powered by GitBook
On this page
  • Exporting Data
  • Importing data
  • Processing the import
  1. Release Notes
  2. Form Builder

import/export

Release note for Import/Export feature in form builder

PreviousForm BuilderNextSection Container

Last updated 2 years ago

Exporting and re-importing form definition is an important features, for instance when translating a form outside the platform.

This new feature allows exactly that.

Exporting Data

Exporting data is the first step. Form editor need to press the prepare a new export button, which opens the following dialog, for choosing the type of export and the language:

Once the export completed, the application download the export file. A new row appears on the Export/Import grid, with a link to download the same export file again. Other information related to the export like language, export status.

For the time being, we only have one type of export available: localize, which prepares a json file used to externalized form translation. This file contains all fields that need to be translated, along with their respective values in the form primary language. It also contains a series of metadata values, used to validate and guide data import process.

Importing data

The export file can be re-imported into the application once necessary updates have been integrated, for instance having translated the appropriate fields.

For this, the form editor need to switch from export to import mode, using the following tab:

This will display an upload field in which files to be re-imported can be dropped

The application will check whether the import tentative is valid and only accept the file if it is the case. For instance, it will make sure the file is a result of a previous export, or if it correspond to the form currently being edited.

Once successfully imported, status of the file item is modified on the grid (from exported to stored), and some information about import is added to be visible for the form editor, like date and name of the user performing the import.

Processing the import

Once data of the imported file is copied into the database, the application still need to process it. For a localize import/export, this involves copying the translated text back to the form definition for the respective language.

Once processing the import is successfully completed, status on the grid changes from stored to synced.

Processing localize import is done automatically for the latest export. Otherwise (for instance when a new export was done later on for the same language), the form editor need to manually initiate processing the import.

This is done by clicking on the grid row to expand it and pressing the process import button.

Screenshot of the import export tool. Clicking on "show latest only" will filter the grid and only show latest export for each language
Export Dialog. For the time being, we only have one type of export for form localization
Switching from export to import mode