Re: Add a Header to a flat file without changing the schema

Home Page Forums BizTalk 2004 – BizTalk 2010 Add a Header to a flat file without changing the schema Re: Add a Header to a flat file without changing the schema

#25448

Hi Daniel.

Thanks for your reply.

The following scenario I have. Automatically a flat file is generated by another application. This flat file (txt) I consume over a pipeline. The other app can save the flat file with or without a header (for the rows) in line one (the first line in the file). Now I build me schemas an mappings etc. without the header in the flat file because all files I had till now were without this headerline.

Now they want to include a headerline, because if someone will have a look in the flat file can find the value and the name of the corresponding field (because the field names are in the headerline). Ok, so far so good.

I found a way to manage it. In the properties of the disassambler there is a field where you can let BizTalk know there is a Header in the flat file. I build a new Schema for the Header and assigned it to this property field and that’s all.

No, there is no need in or after BTS for the header. It is just if someone will have a look into the file before BTS will consume it or when the flat file is archived.

Thanks again.

Wolfgang