Set Properties in Pentaho

Posted on by By Sohail, in Pentaho | 0

In this blog, we will learn how to set properties in Pentaho. Please do follow the below steps:

Make data easy with Helical Insight.
Helical Insight is the world’s best open source business intelligence tool.

Grab The 30 Days Free Trail

  1. What we need is a Transformation at the Beginning of our Job
  2. Make a new .txt file, rename it to anyname.properties (In my Case LoopPropertyFile.properties)
  3. Within our transformation, we require 2 components
    • Property Input
    • Modified JavaScript

  4. Within the property Input, we give the path of our new Property File and then click add and you will get the path in the Selected Fields.
  5. you can preview rows to see the values from your Property File

  6. Go to the Fields tab, and Selected get Fields
  7. Select OK

  8. Go to the Modified JavaScript and add the below code.
    setVariable(Key,Value,"r");

    Select Ok and Save and now in your property File, as shown on mine,


    we can call ${init} variable.

logo

Best Open Source Business Intelligence Software Helical Insight is Here

logo

A Business Intelligence Framework

Make data easy with Helical Insight.
Helical Insight is the world’s best open source business intelligence tool.

Claim Your 30 Days Free Trail

In Case if you have any queries please get us at support@helicaltech.com

Thanks
Sohail Izebhijie
Helical IT Solutions Pvt Ltd

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments