CMS Redbook Overview

Page 286

10.2.1 Adding a report The next step is to define the reports to OnDemand. There are three report types: Load, SQL, and Named Query. The report type determines the method used to identify which documents will be retrieved: Load Some or all of the documents are retrieved shortly after they are loaded into OnDemand. When documents are loaded into OnDemand, the load identifier is stored in a database table and a list of documents that have been loaded during the load is created and saved along with the data. The load identifier and the document list are used to retrieve all of the documents for the load. If several loads are processed, there are multiple load identifiers and multiple lists of documents to process for the report. If you do not want to retrieve all of the documents that were loaded, an SQL query can be used to limit the number of documents to retrieve within the loads that are being processed. When distributions are set up to be load-driven (for example, reports use the Load report type and the distribution is scheduled using a load-based schedule), Report Distribution periodically checks the load identifier database table to see if there are any load identifiers in the table (meaning data has been loaded). If there is, than Report Distribution begins extracting documents for the report. SQL An SQL query string is used to query the database. The SQL query string consists of index fields and values that uniquely identify the documents that you want to retrieve. Named Query A public named query is used to query the database. It contains the database query information that uniquely identifies the documents that you want to retrieve. To use this method, the named query must have been created prior to defining the report, and it must be a public named query rather than a private named query. A public named query is created from the Windows client.

Chapter 10. Report Distribution

319


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.