How To Use the SubjectData property as interview identifier

Overview

Once conducting an interview, you can stop and save it on the device at any time. You can do this for several interviews at the time and so view several different interviews entries in the survey’s main screen on the device. Yet besides the Date and Time indicate for each interview, there’s nothing else that identifies one from the other.

Using the SubjectData property will enable the identification for each interview saved on the device, where you set the identification type and content as you want.

The SubjectData property is also useful if you want to save additional data that you want to later view in the data export.

 

  1. Step 1: Assign value into the SubjectData property through the script
  2. Step 2: View the SubjectData content on the device
  3. Step 3: View the SubjectData of downloaded interviews

 

Step 1: Assign value into the SubjectData property through script

The SubjectData property is like a global variable that can be used at any stage in the script, in any code section.

For instance, let’s say we have a script that generates a unique interview number and this number is saved as an answer of question index 2. What we want is to be able to use that unique number and view it where we view the saved interviews on the device.

So, once the unique number was generated and set as the answer of Q2, we can write this code (for instance in the end script of Q2) :

As mentioned, you can assign any value to the SubjectData. The last value that was assigned will be the actual value that is shown on the device.

 

Step 2: View the SubjectData content on the device

To view the SubjectData content, look at the Additional Info column under the Conducted tab in the survey’s main screen. Usually, when there’s no data in the SubjectData property, nothing will appear under that column for that interview:

Once we assigned a value into the SubjectData, it will be shown under that column. For instance here we can see a unique number generated in the script and was assigned to the SubjectData:

Note: Please note that the current display limits for the additional info are of 64 characters.

 

 Step 3: View the SubjectData of downloaded interviews

In addition to an interview identifier on the device, you can view the SubjectData content as part of the interview’s data once it is uploaded to the server.

  • View the SubjectData in Operation Console

    You can choose to add the SubjectData column as part of the operation console columns and view its content that was set in each interview

  • View the SubjectData in exported results

    The SubjectData is another internal STG field that is exported by default (unless defined otherwise) as a column in the exported data. You can see that column in the Extra STG Columns tab in the Export Wizard

In addition, when exporting results in the Export Wizard, you can use the SubjectData as filtering option for the results you want to export, through the Options tab

That’s it!

 

Visit us at: http://www.dooblo.net

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

1 comment
  • Very useful article, well, shortly. Conveniently when does not suffice "Custom Fields" in Operations Console. Thank you very much!

    Svetlana Kovaleva

Please sign in to leave a comment.