cancel
Showing results for 
Search instead for 
Did you mean: 

File Sender Content Conversion Empty Fields

Former Member
0 Kudos

Hi

i have a problem with a filecontentconversion in the file sender adapter.

my incoming csv has the following structure:

ID,name,,,,,,,email,tel,,,,,

in the xml that i am processing i would just need a structure

<rootnode>

<user>

<ID></ID>

<name></name>

<email></email>

<tel></tel>

</user>

</rootnode>

i would like to ignore the rest of the fields.

can anybody tell me if its possible to make a conversion like this or do i have to define a structure where all elements are included ?

thanks ,

martin

Accepted Solutions (0)

Answers (3)

Answers (3)

Shabarish_Nair
Active Contributor
0 Kudos

not possible using standard FCC.

you can either ignore these fields in the mapping or write and adapter module to handle it at the adapter level.

Former Member
0 Kudos

Dear Martin

There is an alternative for the FCC parameters where you can use an adpater module.

This way you can read the file and use only those fields you require.

Sourabh

former_member184681
Active Contributor
0 Kudos

Hi Martin,

In the data type for your sender Service Interface, just set the occurrence of your optional fields to 0..1. Thanks to this, they will not be created by FCC for empty values from a file, which is what you want to achieve.

Hope this helps,

Greg

Former Member
0 Kudos

hi greg

than ks for the quick answer.

i don't want to unnecessary have the elements in the service interface.

br,

martin