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

How to execute a query from within "Query Scripting" initQuery function

$
0
0
Hi,

I try to use "Query Scripting" in order to add more fields dynamically to my query. But since the new field names should be obtained executing another query, the question is how can I execute this other query already present in the report. I'm using ECMAScript but it's ok if I must switch to Groovy. There are some global vars like resourceManager, contextKey, dataFactory,... but I cannot find any doc about them.

I have already looked throught the forum and googled for info about "Query Scripting" but I couldn't find any decent documentation.

Hope somebody can help me pointing to some useful resource.

Than you.

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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