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.
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.