|Dynamic binding of dynamic scripted Library dataset [message #1750532]
||Thu, 22 December 2016 09:54
| sukanya mohan
Registered: December 2016
Hi All, |
I'm new to BIRT. My requirement is that I have an empty report .rtpdesign with a library attached. Library could have multiple datasets and multiple report items. Based on some user input, we need to populate the scripted datasets dynamically with the userinput (say JSON data) and also dynamically include the report item into the rtpdesign.
In my example, I tried to create a library with one datasource, one dataset(for now hardcoded data in fetch()) and one report item, a table. I bound the table with the library dataset.
In the beforeFactory of my rtpDesign, I add the reportItem (table) from the library into the rtpDesign and in the open() and fetch() methods of the Dataset in library, I try to set the data itself.
My problem is that I see an empty table in the report but the dataset values are not bound to my reportItem (table). I confirm that the open() and fetch() of the library dataset gets properly executed.
Can someone help me understand how to get the dataset of the library to display data in the library report item after including in rtpdesign ??
Powered by FUDForum
. Page generated in 0.02726 seconds