Before you begin
You have already connected to the MDM server from Talend Studio.
About this task
To create a new data model, proceed as follows:
Procedure
-
In the MDM Repository tree view, right-click
Data Model and select New from
the contextual menu.
A dialog box pops up.
-
Enter a name for the new model. Make sure that the name contains valid
characters and does not already exist.
-
Keep the Create the corresponding Data Container at the same
time check box selected, so that the corresponding data
container with the same name will be created.
If needed, you can clear this check box and create its
corresponding data container later.
Warning: A data container and its corresponding data model must have
the same name.
-
Click OK to validate your changes and close the dialog
box.
The newly created data model and its corresponding data container will be
shown in the MDM Repository tree view.
-
Double-click the data model to open a default editor in the Studio workspace
where you can set up the parameters for the new data model.
-
If needed, click the ... button next to
Description to open a dialog box where you can add
multilingual descriptions to the new data model.
Note that once a data model is created, the description of the data model
cannot be modified together with the schema of the
data model. If you want to update the description of
the data model, update and redeploy it
separately.
Once you define the multilingual descriptions for the data model, authorized
users can hover over the data model or its corresponding data container in the
Domain Configuration area to view in a tooltip the
localized description corresponding to the selected locale when they access
Talend MDM Web UI.
Results
You can define your business entities, attributes, annotations, etc. in the upper
part of the editor; while the lower part will display the properties of any of the
elements you select in the editor.
The editor also enables you to switch to the XML schema source by
clicking the Schema Source tab. After
clicking the Schema Source tab at the bottom
of the editor, you can create the data model directly in the schema source, that is,
an XML schema document.
Additionally, the editor enables you to switch to a graphical view of the data
model by clicking the Design tab. You can
design a data model from scratch using the graphical designer.