Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: Auto Setting File Field

  1. #1
    Join Date
    Aug 2015
    Posts
    16

    Default Auto Setting File Field

    Hi folks,

    Are there any way that allow us to auto fill out the field name from a file instead of clicking "Get Fields".

    My situration :

    I have a KTR that keep reading file in a directory and output those file into csv. Simply the KTR has 2 nodes : Text File Input and CSV output .

    However i am not able to set the field name dynamically as each files has different field name.

    Please help folks.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,771

    Default

    You should try to use the metadata injection step.
    There are some blogs about it and more info in the forum/wiki
    -- Mick --

  3. #3
    Join Date
    Aug 2015
    Posts
    16

    Default

    Hi Mick,

    Thank you for your advice, just wondering what you mean by ofrumn/wiki ? as i am new to this forum.

    Thanks , Mick ^^

  4. #4
    Join Date
    Apr 2008
    Posts
    1,771

    Default

    I mean that you can search in this forum for topics related to metadata injection step.
    Or there's a Wiki about PDI: http://wiki.pentaho.com/display/COM/Community+Wiki+Home
    -- Mick --

  5. #5
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    There's even a demo in the Kettle samples folder
    So long, and thanks for all the fish.

  6. #6
    Join Date
    Aug 2015
    Posts
    16

    Default

    it works , thx Mick

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.