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)
Callback or passing a value from ODA runtime back to BIRT runtime
kevinkris
Hi All,
I want to pass a value (other than the IResultSet) from ODA runtime to
BIRT web runtime engine.
For that i had created a dataset parameter (input and output true). Which i am able to access in executeQuery() method of IQuery. In the execureQuery i can access the parameter "ds_chartQual" and set my value to that.
And i had binded this parameter "ds_chartQual" to another parameter "chartQual" which i wanted to access in the .rptdesign file.
But i am getting this value as always NULL.
Can you help me in this?
Thanks for your help.
Dataset Parameter:
<list-property name="parameters">
<structure>
<property name="name">ds_chartQual</property>
<property name="paramName">chartQual</property>
<property name="dataType">string</property>
<property name="position">1</property>
<property name="isInput">true</property>
<property name="isOutput">true</property>
</structure>
</list-property>
Find more posts tagged with
Comments
bhanley
Rather than trying to share the value via a parameter, perhaps looking at a Global Persistent Variable will help? This allows the value to be available across all components and threads that may be present during the report building/execution process.
kevinkris
Hi Brain,<br />
<br />
Thanks for the reply. But we want to access this global variable in IQuery implementation in our ODA runtime.<br />
I am not able to find requestContext reference in ODA. Can you help me here?<br />
<br />
org.eclipse.datatools.connectivity.oda.IQuery<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="bhanley"><p>Rather than trying to share the value via a parameter, perhaps looking at a Global Persistent Variable will help? This allows the value to be available across all components and threads that may be present during the report building/execution process.</p></blockquote>
kevinkris
Hi Brain,
Thanks for the reply. But we want to access this global variable in IQuery implementation in our ODA runtime.
I am not able to find requestContext reference in ODA. Can you help me here?
org.eclipse.datatools.connectivity.oda.IQuery