on 01-20-2011 3:10 PM
Hi,
I need to post the data from a Proxy to the CSV file in UTF-8 format.
All the fields on target are mandatory and sometimes I may not have the values from the source. Then, a comma(,) has to be sent for that particular field in the target.
I tried doing with MapwithDefault with a Comma(,)
If the field value does not exist, then passed a Comma(,) from a constant.
Both of the above doesnt work and I get a blank in the target field.
When I used FIXVALUES for another field, I'v put a comma(,) in default. Then it works. But if it is without FIXVALUES, Fails.
Please help.
Regards,
Taro
Hi Taro,
Do you can use Mapping with default in the fields. In this case when you pase the field empty always put the separator (,).
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Taro,
As Stefan said you need to use only fixvalues to achieve this requirement. Mapwithdefault function does not help you in this regard.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is comma the field seprarator? Then you should put anempty string, not an additional comma.
mapwithdefault works only with non-existing elements. Not for empty elements.
Edited by: Stefan Grube on Jan 20, 2011 4:37 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.