Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Directory variable in PRD?

  1. #1
    Join Date
    Jun 2016

    Default Directory variable in PRD?

    Forgive me that on Kettle forum but PRD oneis dead - I never got there any answer. Maybe someone will tell you how to solve:

    I use PDI where in transformation I have Pentaho Reporting Output step.
    In report I use PDI transformation as data source. Path to this transformation is static path, for instance "c:\pdi\workspace\some_job\transformation1.ktr"

    Problem is that when I move tranformation to another directory I have to redefine path. How to make it dynamic directory variable? Someting like ${Internal.Entry.Current.Directory} in PDI?


  2. #2
    Join Date
    Apr 2008


    Try a PDI path of ./transformation.ktr instead of c:\pdi\workspace\some_job\transformation.ktr
    The limitation then is that the PRPT and the KTR need to be in the same directory.

    You should also be able to do things like ../Transforms/transformation.ktr to allow a directory structure like:
    -- Reports\
    ---- MyReport.PRPT
    -- Transforms\
    ---- transformation1.ktr

  3. #3
    Join Date
    Jun 2016


    With your help it's evident :-)
    It works. Thank you very much indeed!

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.