on 04-09-2009 2:34 PM
Hello, I would like to add one level of heirarchy into my data type and keep underlying heirarchies the same. I have a complex IDOC mapping where all of the field mappings become invalid when using my new data structure.
I wonder if there is a way to insert this level of heirarchy while retaining all the subordinate mappings?
The reason I'm doing this...
I was using File Adapter with IgnoreRecordset option. So heirarchy was:
MessageType \ Detail \ Fields
Now I am using JMS adapter and Content Conversion module. The XML parameters do not allow this IgnoreRecordset option as File Adapter does. So now my source structure looks like this:
MessageType \ Recordset \ Detail \ Fields
There have been no changes to structure inside Detail \ Fields but I don't know how to insert this level in the heirarchy without remapping around 100 fields which will likely introduce new errors.
Many thanks for your ideas!
-Aaron
Aaron,
You can try using the mapping template for this purpose: in your message mapping, select the root nodes of the source and target message, click 'Create Template Based on Mapping' to create the template.
After you modify the message type, apply the template on the right level again.
Kind regards,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you try to change occurence in Messages tab in Mapping .I think,it should work.
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am afraid, but i dont think there is any way in which you can insert new level without losing the maaping.
What I can suggest you is copy your existing map with some other name. And then introduce the new level in the mapping and then copy each field map from the previous mapping to the new mapping.
Regards,
Shweta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure whether this parameter exist or not. But could you try with "ignoreRecordset" instead of "IgnoreRecordset".
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.