Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: PDI 3.0.0-M2 Modified Java Script and Output Fields

  1. #1

    Default PDI 3.0.0-M2 Modified Java Script and Output Fields

    We try to convert our transformations from PDI 2.5.1 to PDI 3.0.0-M2.

    In some transformations, we use a Modified JavaScript, which set's new values for some string fields

    In 2.5.1. we use the "fieldname.setValue(var)" function. In PDI 3.0.0-M2 we would like to deactivate the compatibility mode, so the "setValue" method is not available.

    But on the left hand side of the Modified JavaScript dialog i just see this Method to set values for the output fields. #

    Is it a bug? I would expect something like "setString" or anything like that.

    When I try to test the scrupt with "setValue" or "setString" I get an error "TypeError: cannot find function setString" or "TypeError: cannot find function setValue".

  2. #2
    Join Date
    May 2006


    When you switch compatibility off, you're using the real data (so also no setString)... for the left hand tab a bug was opened some while ago:

    For javascript migration itself:


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.