Desktop User Guides > Professional > Using UNICOM Intelligence Professional > Using UNICOM Intelligence Professional to develop interviews > Using the interview metadata viewer > Shortcut menu commands
 
Shortcut menu commands
The following table describes all the shortcut menu commands that are available when you right-click in a metadata viewer. These options are also available in the independent metadata viewer in the Metadata pane.
Shortcut menu commands
Description
Change Language
If your metadata document contains multiple languages, you can choose another language.
Change Version
If your metadata document contains multiple versions, you can choose another version.
Goto Question
If you are viewing the metadata section of your interview script, you can locate the mrScriptMetadata code for any question.
Right-click the question name in the Fields folder, and then click this option. This option is useful when working on large scripts.
Copy Node
Copies to the Windows clipboard all the object and folder names under a folder (node). For example, if you right-click the Fields folder and choose this option, the clipboard contains a list of all the question names.
Copy as Select Statement
Copies to the Windows clipboard the template code for a mrScriptBasic Select Case statement. The object or folder name that you right-clicked becomes the expression that the Select Case statement tests.
If you choose this option for the Categories folder of a categorical question, each category name becomes a separate Case clause. You can then paste the code into the routing section of your interview script.
Copy as Ask
Copies to the Windows clipboard the mrScriptBasic code to ask a question.
If you selected more than one question, the code includes individual Ask statements for all the questions that you selected. You can then paste the code into the routing section of your interview script. This menu option is only available for questions in the Fields folder.
Copy as Show
Copies to the Windows clipboard the mrScriptBasic code to ask a question which cannot be answered.
If you selected more than one question, the code includes individual Show statements for all the questions that you selected. You can then paste the code into the routing section of your interview script. This menu option is only available for questions in the Fields folder.
Copy as Script
Copies to the Windows clipboard the mrScriptMetadata definition of a question.
If you selected more than one question, the code includes definitions for all the questions that you selected. This option is useful for creating a similar question in the metadata section of your interview script or copying one or more questions to another script. This menu option is only available for questions in the Fields folder.
Add Datasource
Opens the Data Link Properties dialog, which you can use to add a data source to the interview script. The data source added automatically becomes the current (default) data source for the interview script. Data sources are used to store case data when you run your script.
For more information about creating case data and how to use the Data Link Properties dialog, see Creating case data.
Change Datasource
If your interview script has more than one data source, you can choose another data source to be the current (default) data source. Data sources are used to store case data when you run your script. See Creating case data.
See also
Using the interview metadata viewer