on 09-16-2009 8:09 AM
Hi,
Has anyone an idea for a graphical mapping ? The elements <phone1> and <phone2> should be trensfered to a list of <phone>
source:
<person_out>
<name>A</name>
<phone1>1</phone1>
<phone2>2</phone2>
</person_out>
target:
<person_in>
<name>A</name>
<phone>1</phone>
<phone>2</phone>
</person_in>
regards
Kerstin
Hi Kerstin,
Simple
In the Message mapping, right click the Phone field of target and choose duplicate subtree. the map each of phone1 and phone2 to them (one for each phone)
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can also create UDF with two arguments(phone1,phone2) and choose context
result.addValue(phone1[0])
result.addValue(phone2[0])
use as follows
phone1---->\
UDF----->phone(Target field)
phone2---->/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you could right click on the target field phone and duplicate it.
Then you could map your input phone fields (1 and 2) to the target phone fields.
Regards
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.