Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Can not access PGV set in onFetch of dataset, later in onPrepare of TextItem.
Migrateduser
<p>This is a simple example where I am setting PGV with onFetch method of dataset.</p>
<p> reportContext.setPersistentGlobalVariable("myvar2","Hi123");</p>
<p> </p>
<p>Then trying to access it in onPrepare method of TextItem.</p>
<p> reportContext.getPersistentGlobalVariable("myvar2");</p>
<p> </p>
<p>I have made sure that there is element in report (above TextItem), which is tied to the dataset so that onFetch method is called.</p>
<p> </p>
<p>However it returns null in textItem. What is wrong here.</p>
<p> </p>
<p>Attached rptdesign.</p>
Find more posts tagged with
Comments
There are no comments yet