Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Can you generate fields for JSON Output with Modified Java Script Value for Metadata?

  1. #1
    Join Date
    Nov 2017
    Posts
    1

    Question Can you generate fields for JSON Output with Modified Java Script Value for Metadata?

    I was trying to pass in the fields and element names from the Modified Java Script step to define dynamic columns with Metadata Injection. I tried an array of names {"name1",name2"}, and an associative array { "name": name1} but I keep getting an error with the message:
    The specified field '{0}' could not be found in the input.

    Is there a data structure that I can create to make this work?

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

    Default

    Frankly, I don't understand your problem description.
    There seem to be JSON-Output, Modified-Java-Script-Values, and ETL-Metadata-Injection involved, but it's all hazy.
    You can switch the forum editor to advanced mode to find a tool button for uploading a zip file containing your POC.
    So long, and thanks for all the fish.

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.