on 10-15-2012 8:44 AM
Hi All,
I have a scnenario where the input file is as below
Hearder : AAAA BBBB CCC CCC
Ord line : BBB CCC DDDD ( spaces at the starting of the file )
This is a position delimiter file
The ord line contains blank spaces at the starting. i have to declare a keyFiledValue.
xml.ORD.keyFieldValue = '0x20' is not working in sender adapter.Please provide your suggestions.
Regards
GM.
Hi All,
Thanks for your suggestions,
I have tried all the options which are specified, Its reading the header line, The ord line is coming blank.
Here i have 3 spaces at the starting of the ord line, i am reading it as1+2.
Regards,
GM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muneesh,
If you are using Header,1,Data,* and keyfieldname than you have to use Keyfieldvalue parameter.
Try to use \0 as keyfieldvalue of Data and than use fieldContentFormatting
Note: fieldContentFormatting will remove all the leading and subsequent blanks for a value. By default.
If you use 'nothing' the value remains unaltered.
Thanks
Shradha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
along with your existing parameters use
NameA.fieldContentFormatting - nothing
this will preserve the blank value and help in FCC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muneesh,
I think not wildcards can be used as key field values.
From my point of view you have two possible solutions:
1. To put header,1,order,*. In this case if you leave the Key Field Name with no value and not to use keyfield parameter in parameter tab, may be it works, (I dont try it, and im not sure).
2. To take all file as one structure and later in the mapping to split the values in their corresponding tags.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
One option could be to add a custom key field value using an adapter module.
Thanks,
Sathya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.