Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Create relationships between data models

Hello,
Could you help me, please.
I try to create relationship between elements of different data models in Talend Platform for MDM.
Product allows choose element ("TTT") from other data model as a foreign key, but i cannot save it. The error occured - type "TTT" does not exist.
Please, tell me what should i do for creating relationship between different data models.
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

A data model can not reference another: the data model must represent your whole business model.
I'm now wondering why "Supplier" isn't in "Product" data model? I'd like to hear about the reason of this in case data model fails to cover an important use case.

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Hi,
I'm not sure to fully understand what you're trying to do. Is what you're doing similar to this other topic? -> http://www.talendforge.org/forum/viewtopic.php?pid=115087#p115087
Anonymous
Not applicable
Author

Hi,
I think this topic similar, but not the same. I didn't try to import smth into Studio, but I try to make relationship between different data models:
I have two domains "Product" and "Suppliers".
Data model - Product
Entity - Product
Elements - ID
Name
Supplier

Data model - Suppliers
Entity - Supplier
Elements - ID
Name
Address
I try to set the foreign key to element "Supplier" in data model "Product". I can select as a XPath Supplier/ID from data model 'Suppliers', but when i try to deploy or save that changes the error occured.
Please, help me. Is it possible to make that relationship?
Anonymous
Not applicable
Author

A data model can not reference another: the data model must represent your whole business model.
I'm now wondering why "Supplier" isn't in "Product" data model? I'd like to hear about the reason of this in case data model fails to cover an important use case.
Anonymous
Not applicable
Author

Hi
Thank you very much for your answer. Now I will use one business model.
I just wanted to divide 2 big dictionaries by this way.