Professional > Interview scripting > Writing interview scripts > Image Capture > Customization
 
Customization
Configuring response required parameters
The image capture question is implemented as a normal text question with a question template and associated JavaScript. Survey authors can deselect the Response required box in UNICOM Intelligence Author, or set the Question.MustAnswer property to False in the routing script, when the image question is optional.
Scripting with UNICOM Intelligence Professional
When UNICOM Intelligence Professional is used for scripting, rather than Author, create a text question with a maximum value of at least 200 and use the ImageCapture.htm file as the question template.
Configuring the Image Capture question to support uploaded video files
1 Backup the ImageCapture.js file to ensure you can return to the original file (when necessary). For example, create a copy of ImageCapture.js and name it ImageCapture.js.backup. The ImageCapture.js file is at:
C:\ProgramData\IBM\SPSS\DataCollection\<version>\Author\Library\Questions\Upload Image Question Wizard.mdd_files\ImageCapture
2 Backup the web.config file to ensure you can return to the original file (when necessary). For example, create a copy of web.config and name itweb.config.backup. The Web.config file is located at:
C:\Program Files\IBM\SPSS\DataCollection\<version>\Interviewer Server\Server\InterviewWebService
3 Open the provided video.zip archive and extract the ImageCapture.js file to:
C:\ProgramData\IBM\SPSS\DataCollection\7\Author\Library\Questions\Upload Image Question Wizard.mdd_files\ImageCapture
overwriting the existing ImageCapture.js file.
4 From the video.zip archive, extract the web.config file to the interviewing web service path (overwriting the existing web.config file). The default path is:
C:\Program Files\IBM\SPSS\DataCollection\<version>\Interviewer Server\Server\InterviewWebService
5 If you want to update an existing project to support uploaded video files, backup the ImageCapture.js file in the project master directory ([ProjectName]\ImageCapture\ImageCapture.js), then extract the ImageCapture.js file from the video.zip archive to the project master directory (overwriting the existing ImageCapture.js file).
6 If you want to update the settings for all future projects, extract the ImageCapture.js file from the video.zip archive to
C:\Program Files\IBM\SPSS\DataCollection\<version>\Interviewer Server\FMRoot\Shared\Author\Library\Questions\Upload Image Question Wizard.mdd_files\ImageCapture
(overwriting the existing ImageCapture.js file).
Note By default, uploaded video files are limited to 200MB. Video files smaller than 100MB are recommended in cases where the network cannot adequately handle larger file sizes.
See also
Image Capture