Jump to content

Mapping questions to fields

From Resco's Wiki
Warning Work in progress! We are in the process of updating the information on this page. Subject to change.

The data mapping feature allows you to map a question to a particular record field. You can read a field to populate the answer automatically or save the answer to a record field at the end – or both.

Identify the mapped record

You have several options for indicating which record and field should be mapped to an answer.

  • One of the simplest options is using the regarding record. This is the record from which the questionnaire was started. If your workflow assumes that you launch questionnaires from an entity form, for example, you go to an asset and start the inspection, this is the way to go.
  • If you have a list of questionnaire templates directly on your home screen or start inspection differently, the regarding field is empty. Instead, you can add a lookup question to your questionnaire template and then use the lookup target as the mapped record.

Set the mapping direction

Once you identify the record and field, you can choose mapping direction. Essentially, you can:

  • read data from the record to populate the answer on the questionnaire
  • write data from the answer into the record field
  • or both!

Edit the questionnaire template

  1. Edit a questionnaire template in the designer and enable Data Mapping in the toolbar.
  2. Click the link button to start the data mapping wizard.
  3. Select which record should be linked to the question:
    • Regarding record (Record from which the questionnaire was started)
    • Record from a lookup question
  4. For each entity, select the record that should be mapped.
  5. Finally, select whether to read data from the record field or save the answer to the field.

Select record