Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Spoon Step to read a file's custom properties

  1. #1
    Join Date
    Jan 2007
    Posts
    485

    Default Spoon Step to read a file's custom properties

    Hi All,

    I using the "Get File Names" step, to extract the filenames of a certain Folder/Subfolder. I would like to further "filter" the existing files, based upon each file's "Custom Properties".

    I am using/reading files from folders on a Windows machine. I am using PDI 4.0.

    I can't recall an existing Input transformation step that can do this.

    Has anyone had a similar need and if so, can you advise how to proceed?

    Many thanks and kind regards.

    DMurray3

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

    Default

    "Get File Names" is looking at the file system directory entries.
    If I'm not mislead, with "Custom Properties" you are refering to attributes stored with the file itself.
    Apache POI HPSF should be your friend, then.
    So long, and thanks for all the fish.

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.