on 04-27-2016 7:09 PM - last edited on 02-04-2024 4:25 AM by postmig_api_4
hi experts,
I'm new to data hub. I would like to composite one canonical item from two different raw item. Is there any way to do that without custom hundler?
Simply provide multiple transformations.
Example :
<item>
<type>CanonicalAttribute</type>
<attributes>
<attribute>
<name>attributeID</name>
<transformations>
<transformation>
<rawSource>RawCHRMAS</rawSource>
<expression>E1CABNM-ATNAM</expression>
</transformation>
<transformation>
<rawSource>RawCLSMAS</rawSource>
<expression>E1KLAHM-E1KSMLM-ATNAM</expression>
</transformation>
</transformations>
</attribute>
<attribute>
<name>categoryType</name>
<transformations>
<transformation>
<rawSource>RawCLSMAS</rawSource>
<expression>E1KLAHM-KLART</expression>
</transformation>
</transformations>
</attribute>
<attribute>
<name>attributeType</name>
<transformations>
<transformation>
<rawSource>RawCHRMAS</rawSource>
<expression>E1CABNM-ATFOR</expression>
</transformation>
</transformations>
</attribute>
...
As you can see the categoryType is populated from RawCLSMAS and attributeType from RawCHRMAS while both raw are mapping the primaryKey field attributeID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To clarify, in the above example attributeID is mapped to E1CABNM-ATNAM & E1KLAHM-E1KSMLM-ATNAM. And if attributeID is not a collection i.e. a single valued field then then the value will be the second attribute E1KLAHM-E1KSMLM-ATNAM. Is that correct ? If E1CABNM-ATNAM = "A" and E1KLAHM-E1KSMLM-ATNAM="", then attributeID = "".
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.