Using scripted data-sets to retrieve single object
Hello,<br />
I just have a quick question about what is the proper way to retrieve a single object with a scripted dataset.<br />
I want to display information of an object in my report outside a table. Up to now, I used to get this object in a list and populate one row of my dataset by iterating through this list containing a single element in the fetch event handler.<br />
When I try to populate my dataset without an iteration with the following fetch method, nothing shows ont the report:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>row["patientIdent"] = consultation.getMember().getFullName();
row["membership"] = consultation.getWorkFlow().getMedicalEvent().getMembership();
row["demography"] = consultation.getMember().getNationality().getName();
return false;</pre>
<br />
Is using a list and iterating through the only way to go?
I just have a quick question about what is the proper way to retrieve a single object with a scripted dataset.<br />
I want to display information of an object in my report outside a table. Up to now, I used to get this object in a list and populate one row of my dataset by iterating through this list containing a single element in the fetch event handler.<br />
When I try to populate my dataset without an iteration with the following fetch method, nothing shows ont the report:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>row["patientIdent"] = consultation.getMember().getFullName();
row["membership"] = consultation.getWorkFlow().getMedicalEvent().getMembership();
row["demography"] = consultation.getMember().getNationality().getName();
return false;</pre>
<br />
Is using a list and iterating through the only way to go?
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 145 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management