Birt Runtime with Pojo-Dataset DS-Parameter
<p>Hi Everyone,</p>
<p> </p>
<p>I try to create Birt-Reports with Hibernate-classes. I use Pojo-Datasource and Pojo-Dataset and it works fine so far.<br>
My Question is, I want to access in my Dataset-Class the dataset-parameters.<br>
I don't use the Birt-Viewer, but have my own little app to visualize the report results.<br>
My problem is, that I have my dataset and defined parameters on this dataset in birt-Designer, but I can't access them running the report.<br>
I have my Dataset-Class with the open-method:<br>
open(Object appContext, Map<String, Object> dataSetParamValues) {<br>
</p>
<p>I found in the internet/forum, that the parameter dataSetParamValues should contain the Dataset-parameters, but this map is always empty (dataSetParamValues:{}).</p>
<p> </p>
<p>I am using birt Neon to design my reports and tried execution with runtime version 4.5.0 and 4.6.0- same result for both. I'm using Java8.</p>
<p> </p>
<p> </p>
<p>Does anyone have a suggestion, what is my error, why these values are empty?</p>
<p> </p>
<p>Attached you see my parameter definition on the dataset. I tried different parameter configurations - different datatyps, linked to report parameters, but none appeared during dataset-processing.</p>
<p> </p>
<p>Thanks for your help!</p>
<p> </p>
<p>Dominik</p>
<p> </p>
<p> </p>
<p>Resolved --- Sorry, it was my fault, I had a confusion in my system, now all works fine! Thanks!</p>
<p> </p>
<p>I try to create Birt-Reports with Hibernate-classes. I use Pojo-Datasource and Pojo-Dataset and it works fine so far.<br>
My Question is, I want to access in my Dataset-Class the dataset-parameters.<br>
I don't use the Birt-Viewer, but have my own little app to visualize the report results.<br>
My problem is, that I have my dataset and defined parameters on this dataset in birt-Designer, but I can't access them running the report.<br>
I have my Dataset-Class with the open-method:<br>
open(Object appContext, Map<String, Object> dataSetParamValues) {<br>
</p>
<p>I found in the internet/forum, that the parameter dataSetParamValues should contain the Dataset-parameters, but this map is always empty (dataSetParamValues:{}).</p>
<p> </p>
<p>I am using birt Neon to design my reports and tried execution with runtime version 4.5.0 and 4.6.0- same result for both. I'm using Java8.</p>
<p> </p>
<p> </p>
<p>Does anyone have a suggestion, what is my error, why these values are empty?</p>
<p> </p>
<p>Attached you see my parameter definition on the dataset. I tried different parameter configurations - different datatyps, linked to report parameters, but none appeared during dataset-processing.</p>
<p> </p>
<p>Thanks for your help!</p>
<p> </p>
<p>Dominik</p>
<p> </p>
<p> </p>
<p>Resolved --- Sorry, it was my fault, I had a confusion in my system, now all works fine! Thanks!</p>
0
Categories
- All Categories
- 121 Developer Announcements
- 53 Articles
- 151 General Questions
- 146 Thrust Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 180 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories