Data Model > Extending the UNICOM Intelligence Data Model > Creating a Metadata Source Component (MDSC) > Populating the MDM Document > Setting up the routing
 
Setting up the routing
If you want a question to appear in a questionnaire, you need to add it to the Document's Routing collection for the required routing context. The Routing collection is a list of routing items, each of which is associated with a question or group of questions. For categorical questions, the routing items can also define which question to Go To next, depending on which category the respondent chose in response to the question. You need to create routing items for each question or group of questions you want to ask.
UNICOM Intelligence Interviewer - Paper uses the Paper routing context. So if you want questions to be displayed in UNICOM Intelligence Interviewer - Paper, you must add the routing items to the Paper routing context of the Document.Routing collection. The routing in UNICOM Intelligence Interviewer is not defined by the metadata. However, you can define your own routing contexts. For example, if you are creating a CATI application called "Quick", you could create a routing context called Quick. If you want the metadata to be used in both this application and in UNICOM Intelligence Interviewer - Paper, you must add the questions to both the Quick and the Paper routing contexts.
Routing context notes
UNICOM Intelligence Interviewer - Paper always uses the Paper context.
In UNICOM Intelligence Interviewer - Offline for Windows, you can select which routings are used under the Personal > Interview tab when activating projects.
By default, Web interviews use the routing context that is selected when activating the project. This can be overridden for each interview by specifying I.RoutingContext="..." on the URL.
For CATI, the sample management script normally overrides the routing context that was used when the project was activated. For example, the Multimode sample management script always uses the CATI routing context.
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 custom properties
Versions
Using the Alias Map component
Visual C++ examples
Populating the MDM Document