Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Recording > ProjectInfo.xml and ActivateDocument.xml properties for recording
 
ProjectInfo.xml and ActivateDocument.xml properties for recording
The recording feature uses specific ProjectInfo.xml properties. The properties are used for locally deployed projects, and can be manually set. For example:
<Recording>
  <CapiRecordingApprovalDefaultOption>0</CapiRecordingApprovalDefaultOption>
<CapiPercentContactsRecorded>30</CapiPercentContactsRecorded>
<CapiRecordInterviewOnly>true</CapiRecordInterviewOnly>
</Recording>
After project activation, the generated ActivateDocument.xml file contains the following properties:
<ProjectsInfo>
<ProjectInfo>
<DpmProperties>
<Properties name="mrInterview">
<Property name="CapiPercentContactsRecorded"
                      type="integer">0</Property>
<Property name="CapiRecordingApprovalDefaultOption"
                      type="integer">4</Property>
<Property name="CapiRecordInterviewOnly"
                      type="boolean">False</Property>
</DpmProperties>
</ProjectInfo>
</ProjectsInfo>
ActivateDocument.xml properties
CapiRecordingApprovalDefaultOption
0 (ASK): Shows the monitoring approval dialog with no selected default option.
1 (PROHIBITED): Shows the monitoring approval dialog with the default option set to no.
2 (ALLOWED): Shows the monitoring approval dialog with the default option set to yes.
3 (ALWAYS): Does not show the monitoring approval dialog and enables the recording function.
4 (NEVER): Does not show the monitoring approval dialog and disables the recording function.
Default value: 0
CapiPercentContactsRecorded
Identifies the percentage of contacts that use survey level recording.
Default value: 0
CapiRecordInterviewOnly
Controls when the recording starts.
False: The recording starts when the sample is retrieved.
True: The recording starts when the interview starts.
Default value: False
See also
Recording