Data Model > Extending the UNICOM Intelligence Data Model > Creating a Metadata Source Component (MDSC) > Populating the MDM Document
 
Populating the MDM Document
Writing code to populate the MDM Document involves:
Setting properties on the MDM Document.
Defining contexts to control property values.
Creating variables and adding them to the MDM Document in such a way that they accurately reflect the hierarchical structure of the data. For more information, see Hierarchical data in the MDM.
Creating Element objects and adding them to variables.
Adding text translations, if required.
Adding custom properties for proprietary information not covered by the standard properties.
Defining versions for multiversion surveys.
This sections provides information about populating the MDM Document with your proprietary metadata. It is designed to be used in conjunction with the Working with the Metadata Model (which contains introductory and overview material, a Working with the Metadata Model: Tutorial, and some Visual Basic code examples) and UNICOM Intelligence Data Model reference.
See also
Setting up the Document
Setting up basic questions
Setting up elements
Setting up helper fields
Setting up shared category lists
Setting up complex questions
Setting up the routing
Setting up custom properties
Versions
Using the Alias Map component
Visual C++ examples
Creating a Metadata Source Component (MDSC)