on 02-07-2008 6:55 AM
hello to all XI experts
I am looking for an option in the XI to define constant parameters mapping, meaning for example if I recieve a file with attribute 'Gender' and value is '1', I would like the XI automatically translate it to be 'Male'.
for example:
Request
<header>
<Gender>1</Gender>
Response
<header>
<Gender>Male</Gender>
the thing is, I might have a lot of elements with the same attribute and I would like to make a constant settings of the mapping to be good for all the scenarios, and not do the mapping for each scenario and Message Mapping all over again. I would like to save time.
Thanks for your help
I am kind of new. what exactly do you mean?
where can I find it?
Thanks
Kfir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Goto message mapping in the repository
2. double click on the target element (gender), will be now in graphical editor.
3. click on the source (gender)
4. now, below graphical map editor, there is a tool bar where from we can take in-built functions or can create our own.
5. select function category ->> Value mapping
6. choose Fixed mapping, which will be available now in the mapping editor
7. double click to get the properties of the function. and assign the mappings key 1: value male key 0: value female
regards,
nikhil
**reward if helpful
this was very helpfull, thans.
but this is just one function, and I wonder if there is something that I can do mapping for every scenario that I have, with out needing to map each function.
meaning, that I wont have to map each element that include "gender", but every time that I will get element "gender", I will know to map automatically if it is 1 to put male, and if it is 2 to put female.
this suppose to be something in the system level, and not each interface level.
Thanks
Kfir
Hi,
You can find out the Beloow mentioned BLOG
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
Regards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Value mapping STD funcion
Thanks
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.