Skip to main content Skip to complementary content

Writing the data into the file

Procedure

  1. Double-click tRowGenerator to open its RowGenerator Editor.
  2. Click the [+] button to add two columns: id of Integer type and name of String type. Then in the Functions column, select the predefined function Numeric.sequence(String,int,int) for id and TalendDataGenerator.getFirstName() for name.
  3. In the Number of Rows for RowGenerator field, enter 5 to generate five rows.
  4. Click OK to validate the changes and accept the propagation prompted by the pop-up dialog box.
  5. Double-click tFileOutputDelimited to open its Basic settings view.
  6. In the File Name field, press Ctrl+Space and from the global variable list displayed select ((String)globalMap.get("tCreateTemporaryFile_1_FILEPATH")).

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!