# Include static Header information during REFORMAT

**URL:** <https://forum.cloverdx.com/t/include-static-header-information-during-reformat/1064>\
**Category:** CloverDX Platform\
**Created:** [May 15, 2012, 12:00am UTC](https://forum.cloverdx.com/t/include-static-header-information-during-reformat/1064 "2012-05-15T00:00:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![naveenvijay](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@naveenvijay](https://forum.cloverdx.com/u/naveenvijay)\
**Post date:** [May 15, 2012, 12:00am UTC](https://forum.cloverdx.com/t/include-static-header-information-during-reformat/1064/1 "2012-05-15T00:00:00Z")

</div>

Hi,

Is there a way I can add a static header information for the feed after reformatting. Currently I am using java to reformat a DATA from DATABASE.

Basically I read the database and then create a file. I want to add header information to the file so my import engine can recognize the first line as header.

Thanks,  
Naveen

---

<div class="post-metadata">

**Author:** ![vacekm](https://avatars.discourse-cdn.com/v4/letter/v/bbce88/32.png) [@vacekm](https://forum.cloverdx.com/u/vacekm)\
**Post date:** [May 16, 2012, 12:06pm UTC](https://forum.cloverdx.com/t/include-static-header-information-during-reformat/1064/2 "2012-05-16T12:06:15Z")

</div>

Hello Naveen,

I’m not sure if I understand your question well. But if you want to add headers while writing a file. Then turn on the “Write field names” option in your write component. It will use the names of fields in the metadata to generate header.

---

<div class="post-metadata">

**Author:** ![naveenvijay](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@naveenvijay](https://forum.cloverdx.com/u/naveenvijay)\
**Post date:** [May 16, 2012, 1:06pm UTC](https://forum.cloverdx.com/t/include-static-header-information-during-reformat/1064/3 "2012-05-16T13:06:44Z")

</div>

Thank you so much!!

Is there an example you can share.

Naveen

---

<div class="post-metadata">

**Author:** ![vacekm](https://avatars.discourse-cdn.com/v4/letter/v/bbce88/32.png) [@vacekm](https://forum.cloverdx.com/u/vacekm)\
**Post date:** [May 16, 2012, 2:09pm UTC](https://forum.cloverdx.com/t/include-static-header-information-during-reformat/1064/4 "2012-05-16T14:09:38Z")

</div>

Hello Naveen,

please find an example attached.

- [writeHeader.zip](https://cdn.cloverdx.com/forum/16172%5F209afa70db17a4fb7f60785ad29b66b4/writeHeader.zip)

---

<div class="post-metadata">

**Author:** ![naveenvijay](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@naveenvijay](https://forum.cloverdx.com/u/naveenvijay)\
**Post date:** [May 16, 2012, 4:09pm UTC](https://forum.cloverdx.com/t/include-static-header-information-during-reformat/1064/5 "2012-05-16T16:09:27Z")

</div>

Thank you so much!!

Much Much Appreciated?
