Skip to main content
simply more productive

The Data Specialist

Thanks to our intuitive transformation designer, you can convert data effortlessly to a variety of formats without knowing how to program. It’s not only efficient, it’s also easy to use.
Flowheater Download

How to set the write TextFile Adapter file name

  • FlowHeater-Team
  • Topic Author
  • Offline
  • Admin
  • Admin
More
5 years 9 months ago #3435 by FlowHeater-Team
How to set the write TextFile Adapter file name was created by FlowHeater-Team
Hello,

I am trying to figure out how to set the write TextFile Adapter file name to a field from the Read Text file adaptor. Can you explain this or direct me to a URL that shows and example.

I have a field called OrderId, and would like the WRITE file to be named $OrderId$.txt . But I cant figure out how to reference the orderId field.

Any help would be appreciated.

Tim
Request received via email

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.

Please Log in to join the conversation.

  • FlowHeater-Team
  • Topic Author
  • Offline
  • Admin
  • Admin
More
5 years 9 months ago #3436 by FlowHeater-Team
Replied by FlowHeater-Team on topic How to set the write TextFile Adapter file name
Hi Tim,

You just have to use the Set Parameter Heater and set the desired Parameter “$orderid$” with the value of the certain field.
In the TextFile Adapter you can use “$orderid$.txt” as file name. The TextFile Adapter replace the parameter $orderid$ with the current value.

Note: In case the parameter is changed during the defintion run, the TextFile Adapter exports multiple files. For example 1000.txt, 1001.txt, …

Attached you´ll find a simple example.



File Attachment:

File Name: set-write-...name.zip
File Size:2 KB

Best wishes
Robert Stark

Did this answer your question? We would be grateful if you provide a brief comment as feedback. It may also help others who may have encountered a similar problem.
Attachments:

Please Log in to join the conversation.

Time to create page: 0.265 seconds

FlowHeater - The Data Specialist

Efficient data integration and transformation with FlowHeater – the perfect solution for a seamless transfer of your data.

Rechtliches

Support & Contact

Kontaktinformation

Telefon:0951 / 99339792 E-Mail:This email address is being protected from spambots. You need JavaScript enabled to view it.

Copyright © 2009-2024 by FlowHeater GmbH. All rights reserved.