Desktop User Guides > Professional > Interview scripting > Writing interview scripts > Creating questionnaire wizards for UNICOM Intelligence Author > Creating the source
 
Creating the source
The source .mdd file contains the basic structure of the question to be inserted and specifies the wizard .mdd file that will ask the user for details. To specify the wizard, add the following to the metadata section of the .mdd file:
Syntax
WizardPath = "<path_to_wizard_mdd>"
Parameter
<path_to_wizard_mdd>
The directory path to the Wizard .mdd file. The path can be either relative or absolute.
Default value
If WizardPath is not specified, or the Source cannot find the specified wizard file, the source acts as a normal library item. When an UNICOM Intelligence Author user inserts it, the source is added to the target as it is.
Notes
If you plan to store your wizard in the UNICOM Intelligence Question Repository, you might need to change your WizardPath to account for the way UNICOM Intelligence Question Repository stores .mdd files. For more information, see Storing the questionnaire wizard for use by UNICOM Intelligence Author users.
When working with project templates, WizardPath should point to the appropriate project template _file directory. For more information on working with project templates, see Project templates.
By default, UNICOM Intelligence Author checks for duplicate element names prior to launching the questionnaire wizard. To disable this feature, you can set the WizardPreCheck property to false. This is useful in cases where the wizard will change the placeholder names that are in the source.
Example
For an example of the metadata section of a Source .mdd file, see UNICOM Intelligence Author questionnaire wizard examples.
See also
Creating questionnaire wizards for UNICOM Intelligence Author