Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Custom Parameters - Functions not Strings

$
0
0
Hi,

Custom parameters are great for defaulting initial values of parameters, e.g. setting a date parameter to today.

However there is an issue with them. The first time you access a "custom parameter" in code, it is a function not a string. So you have to use:

paramName()

To get its value.

Once they select a value then you have to use

paramName

This is really awkward in complicated dashboards with lots of prompts. Is there a better way this can be done? (Perhaps there is something in javascript I'm missing to help here?)

Dan

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>