Reports Merged with PDF

<< Click to Display Table of Contents >>

RayVentory Data Hub > 12.5 u5 > Dashboards and Reports Customization Guide > Designing Reports > Create Reports 

Reports Merged with PDF

This tutorial describes how to add PDF content to a report.

 

eurd-pdfcontentdemo-result

 

tip

Tip:

The Master-Detail Reports with Subreports) topic describes another way to create a report that merges different documents.

 

Create a Report Layout

Create a report that should include PDF content.

 

eurd-pdfcontentdemo-initial-report

 

In this tutorial, the report shows a purchase order. A Detail Report band displays order details and customer information. An inner Detail Report band lists products included in an order.

 

eurd-pdfcontentdemo-initial-preview

 

Add PDF Content

Add a PDF document for each product listed in an order.

 

1.Add a Detail Report band at the location where you want to place PDF content. As PDF content is rendered on separate pages, the report from this tutorial includes this band at the bottom. Bind the new band to the same data member as in the Create a Report Layout section above.
 
eurd-pdfcontentdemo-add-detail-report-for-pdf
 

2.Select the added Detail Report band and specify its Data Source and Data Member.
 
eurd-pdfcontentdemo-configure-detail-report-for-pdf
 

3.Drop the PDF Content item from the Toolbox onto the added band.
 
eurd-pdfcontentdemo-drop-xrpdfcontent
 

4.Bind the dropped control to the source of PDF data. Select the control, switch to the Properties Panel, click the Source property's marker, and select Source Expression. In the invoked Expression Editor, select the data source field that stores PDF documents and click OK.
 
eurd-pdfcontentdemo-bind-to-pdf-source

 

tip

Tip:

Other options are available to bind the PDF Content control to PDF data:

oBind to a PDF file
Specify the file's URL in the control's Source URL property. The specified file should be available when a report is generated.

oSave the PDF content in the report
Click the Source property's ellipsis button and select the file from which to load the content.

 

The report is ready and can be viewed in the Preview tab. Each PDF document is printed on a separate page and uses its own page settings.

 

eurd-pdfcontentdemo-result2