How to put a value contained in a list into a page variable
Options
<p>I want to create a document from a list of test reports. Each report will start on a new page and may span a number of pages. In the footer I want to display the name of the current report.</p>
<p> </p>
<p>I am using a list element to iterate over the test reports and, initially, I thought that I could put the report name in the list footer area. Strangely, the footer text is always displayed on the following page. (I searched for a while but cannot see why there should be a page break)</p>
<p> </p>
<p>My current approach is to use a page variable which is displayed in the master-page footer area.</p>
<p>How can I set the page variable from within the list? Can I use one of the script events? How can I get the value of the current details object?</p>
<p> </p>
<p>(Just to clarify, the data set is based on a POJO which is why I talk about getting the 'object'. I would just like to know how to grab a current value from the data set)</p>
<p> </p>
<p>I viewed a presentation on YouTube which was using the <em>onPageBreak </em>event of a data set object to get the value of that object and to put it in the page variable. This doesn't work for me. The master-page footer appears to get drawn before the <em>onPageBreak </em>event is called.</p>
<p> </p>
<p>I am using a list element to iterate over the test reports and, initially, I thought that I could put the report name in the list footer area. Strangely, the footer text is always displayed on the following page. (I searched for a while but cannot see why there should be a page break)</p>
<p> </p>
<p>My current approach is to use a page variable which is displayed in the master-page footer area.</p>
<p>How can I set the page variable from within the list? Can I use one of the script events? How can I get the value of the current details object?</p>
<p> </p>
<p>(Just to clarify, the data set is based on a POJO which is why I talk about getting the 'object'. I would just like to know how to grab a current value from the data set)</p>
<p> </p>
<p>I viewed a presentation on YouTube which was using the <em>onPageBreak </em>event of a data set object to get the value of that object and to put it in the page variable. This doesn't work for me. The master-page footer appears to get drawn before the <em>onPageBreak </em>event is called.</p>
0
Comments
-
<p>Are you using separate run and render tasks or the run and render task? This changes the order of some of the script methods. This could be a cause to your issue.</p>
<p> </p>
<p>You want to take a value from the current page and display it in the master page footer? Let me know.</p>
Warning No formatter is installed for the format ipb0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 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
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax