Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Passing an array of values as a parameter.
schmidtkevina
Is it possible to pass an array of values, or in this case, a JAVA Hashmap of values as a parameter to a report through the RE API?
Find more posts tagged with
Comments
JasonW
This is currently not supported through parameters, but can be done adding the Java object to the scripting runtime:
DummyClass dl = new DummyClass();
config = new EngineConfig( );
HashMap hm = config.getAppContext();
hm.put( "dummy", dl);
config.setAppContext(hm);
in script or the expression builder it can then be referenced like:
dummy.myMethod();
Jason