FlowHeater Demo Video
 
FlowHeater - The Data Import / Export Specialist
 
Welcome, Guest
Username: Password: Remember me
See also the existing examples of using the TextFile Adapter , which may answer your question: text file codepage converting 1 / 2 , processing of CSV header and footer rows , Import/Export vCard (line based) text files
  • Page:
  • 1

TOPIC: How to set the write TextFile Adapter file name

How to set the write TextFile Adapter file name 1 year 2 months ago #3435

  • FlowHeater-Team
  • FlowHeater-Team's Avatar Topic Author
  • Offline
  • Posts: 331
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 or Create an account to join the conversation.

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.

How to set the write TextFile Adapter file name 1 year 2 months ago #3436

  • FlowHeater-Team
  • FlowHeater-Team's Avatar Topic Author
  • Offline
  • Posts: 331
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 or Create an account to join the conversation.

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.
  • Page:
  • 1

other Languages

de

FlowHeater Home

de en

Imprint/Contact

Privacy Statement

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

Follow us on

twitter  facebook

YouTube

 de en