cancel
Showing results for 
Search instead for 
Did you mean: 

how to ignore key field in trailer

former_member398373
Participant
0 Kudos

Hi All,

I have one scenario, that is SFTP(FCC) to XML.but my problem is i am getting the records in .txt format which having header and trailer fields.

in header records i don't have key field, but in trailer records i have key field.

so how i can proceed with this.

thanks in advance.

papireddy.

Accepted Solutions (0)

Answers (2)

Answers (2)

manoj_khavatkopp
Active Contributor
0 Kudos
in header records i don't have key field, but in trailer records i have key field.

So you dont have keyfield for headers so just use simple plain to xml in the sender channel , and then handle the trailer in mapping.

Br,

Manoj

bhagya_nayanala
Explorer
0 Kudos

Hi

You can try with <Trailer Node Name>.keyFieldInStructure   set this to ignore in FCC.

Regards

Bhagya

former_member398373
Participant
0 Kudos

Hi bhagya,

i tried this option but it is not working.

Regards,

papireddy.

GauravKant
Contributor
0 Kudos

Hi Papi,

Please try this.

Structure.keepIncompleteFields = YES

Structure.missingLastfields = ignore

Regards,

Gaurav

former_member186851
Active Contributor
0 Kudos

Hello Papi,

Can you post the FCC parameters,

The parameter which Bhagya stated should work.