Data Model > UNICOM Intelligence Data Model samples > UNICOM Intelligence Data Model-related sample code > MDM Explorer
 
MDM Explorer
The executable file and source code for MDM Explorer is provided with the UNICOM Intelligence Developer Documentation Library. MDM Explorer is a tool that displays the objects in an MDM Document.
By default, the source code is installed into the following directory:
x86 32-bit installations:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\DDL\Code\Tools\VB6\MDM_Explorer
x64 64-bit installations:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\DDL\Code\Tools\VB.NET\MDM_Explorer
Starting MDM Explorer
1 In Windows Explorer, browse to the folder where the source code was installed.
2 Double-click MDM Explorer.exe.
This opens the MDM Explorer window.
Opening the short drinks sample .mdd file in MDM Explorer
1 From the File menu in MDM Explorer, choose Open Document.
2 In the Open Metadata File dialog box, browse to the folder where the short drinks sample .mdd file was installed. (Typically this is [INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\DDL\Data\Mdd.)
3 Double-click short_drinks.mdd.
There is a short delay while the file is loaded. You can now explore the structure of MDM Document. For example, to display the objects that correspond to the questionnaire items, expand the Fields folder.
Tip: You may find it helpful to use the Questionnaire Viewer to display the questionnaire and optionally print it. You will then be able to compare the internal structure of the various questionnaire items displayed in MDM Explorer with the way they are displayed in the actual questionnaire.
Opening a superversion
1 Open the .mdd file as usual.
2 Select Document in the tree view on the left side.
3 Double-click CurrentVersion on the right side.
4 Enter the version expression that corresponds to the versions you want to use. For example, to open all versions, type {..}. For more information, see Version expressions.
5 Click OK.
Why does MDM Explorer display a never-ending loop for Variables and VariableInstances?
A VariableInstance object has a pointer to a Variable object and the Variable object has a collection of related VariableInstance objects. MDM Explorer merely reflects the properties on each object. This means that you can open an endless list of Variable and VariableInstance objects.
See also
Understanding the MDM integration
What's new in MDM Explorer
UNICOM Intelligence Data Model-related sample code