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)
How to pass parameter value from plugin to report script?
umeshw77
Hi
I have written a plugin called continuation sheet. Using this plugin while designing a report, user should be able to display data from datasource in certain table field and if it exceeds some limit (which is one of the plugin properties field), it should display data on next report sheet. I am pushing this overflow data in one of model object in plugin implementation. And I am trying to read this data from model in report item using scripting [1]. But this doesn't seem to work, because this scripting code always creates a new instance of model object and hence I can't get handle of model object created by plugin and so I can't read the overflowed data. Even singleton doesn't help here. Anyone has solution to this generic problem, where data created by plugin should be readable in report item during render.
[1]
open:
model = new Packages.com.arisglobal.commonmodules.re.contsheet.model.OverflowDataModel();
fetch:
row["Name"] = model.getData();
return true;
Find more posts tagged with
Comments
There are no comments yet