Dynamic Report creation
Options
<p>Hi All, I'm new to BIRT. My requirement is this. A dynamic table is to be created to display the data provided as part of json input. I created a report parameter to receive json, parse the same and constructed a table based on a library reportItem in the beforeFactory() and based on the json record count created new rows using RowOperationParameters. My first question is, I'm not using a dataset at all, instead directly accessing the cells of a table and adding elements like label or data into the cells and populating the json input in the beforeFactory. Is this correct ? or is there a way by which I could bind it to a dataset and then use the dataset to populate the table ?? Please advice.</p>
0
Comments
-
<p>If you are not using a data set to generate your table, it might require more code to generate your dynamic table the way you want it.</p>
<p>There can be some other challenges when not using a data set (ex: not able to use export data), however there is no wrong way to accomplish the task.</p>
<p>If you were wanting to use the binding method, here are some example posts that demonstrate how to accomplish this:</p>
<p> </p>
<p>Here is an example that dynamically creates a Data Set based on the results of a query and generates a dynamic table based on the Data Set results:</p>
<p><a data-ipb='nomediaparse' href='http://developer.actuate.com/community/forum/index.php?/topic/24254-creating-column-dynamically/?p=132987'>http://developer.actuate.com/community/forum/index.php?/topic/24254-creating-column-dynamically/?p=132987</a></p>
<p> </p>
<p>This example dynamically creates a Scripted Data Set which might be helpful with the JSON data:</p>
<p><a data-ipb='nomediaparse' href='http://developer.actuate.com/community/forum/index.php?/topic/35563-dynamic-column-generation-in-scripted-dataset-birt/?p=132072'>http://developer.actuate.com/community/forum/index.php?/topic/35563-dynamic-column-generation-in-scripted-dataset-birt/?p=132072</a></p>
Warning No formatter is installed for the format ipb0 -
@Matthew L. Do you happen to have the rptdesign file that you uploaded in the below forum? Looks like that the attachments didn't get copied when developer.actuate.com was shut down.
0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 122 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management