on ‎2012 Jan 23 2:24 PM
Hi all,
I have a need to map to a structure which have a "tagname" inside the element.
I map for example a phone number to an element and the receiving value should be "TelephoneNumber = 0345335454"
My first thought was to create a phone number datatype with two sub elements, like Tag and Value and in the data type definition somehow default the Tag value to "TelephoneNumber = " so that i didn´t have to map it at all in the message mapping.
Is that even possible?
Or are there any other ways to do it? I would like to be able to not have the need for mapping a value in message mapping (not even a constant), but use a default from the datatype.
kind regards,
Glenn
Request clarification before answering.
Hello,
I have a need to map to a structure which have a "tagname" inside the element.
I map for example a phone number to an element and the receiving value should be "TelephoneNumber = 0345335454"
I think you are referring to the attribute of an element e.g
<elementName telephoneNumber=""/>
Here, elementName is the element while telephoneNumber is the attribute. You can create this using a datatype called elementName and then press ctrlshifta to add an attribute, alternatively you can just create the add icon and then choose attribute.
somehow default the Tag value to "TelephoneNumber = " so that i didn´t have to map it at all in the message mapping.
Not sure what you meant here, but if you don't use it in the mapping, then it will default to TelephoneNumber = "". Please clarify.
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.