Search code examples
excelinputpentahopassword-protectionpentaho-spoon

How to read password protected excel input in pentaho?


How to read data from a password protected excel sheet in pentaho excel input step? If we cant read data from password protected excel sheet, how can we skip the file and read only password less excel sheets in pentaho?

Please help me with this. Thanks in advance.


Solution

  • PDI cannot read Excel files that are password protected to open.

    See here:

    The Excel step does not have a failed handler, so you cannot to this inside the transformation. You can however have a job call a transformation, and this transformation step in the job will fail if the Excel file fails. I would have a job that would call the Excel transformation for each file, and then have a failed and success handler in the job.