cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add a header to a text file without mapping? [Using only ID]

Former Member
0 Kudos

Hi Experts,

I am doing a scenario in which I want to add a dynamic header to a text file, due to the complications related to the structure, I dont want to create a message type, data type etc so I cant use mapping.

I want to do all the manipuations in Integration Directory itself.

Can you all please help me out in this?

Thanks in advance

Thomas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thomas,

Try a Java/XSL mapping. You dont need proper Datatypes/Message types defined since these strucutres will not be validated after the Java/XSL mapping.

Regards

Jaishankar

Former Member
0 Kudos

Hi Experts,

I am new to XI, so only elaborate answers would help me

This is the specific requirement i want;

There is a 'source text file' which is a collection of 1000+ records, I want to make a 'target file' which is a combination of 2 fields, one field will be the dynamically generated name [for the target file] and the other field will be the whole 'source file' content.

From the last response for my question, I understand the dynamic file generation part can be done using java mapping.

Is there anyway by which I can get in the whole content of the source file into a field in the target file?

Thanks in Advance

Thomas

Former Member
0 Kudos

Hi Jaishanker

Thanks for the quick response, it was helpful and i think it'll solve first part of my question. Do you have any idea on the second part mentioned above?

Thanks in advance

Thomas

Answers (0)