RB 12 includes Server enhancements to support drill-down subreports and sending email.
The Server, ClientReport and WebTier have all been ehanced to support drill-down subreports. Internally ReportBuilder's drill-down subreport architecture has been re-designed to further decouple the Viewer from the Report. This was necessary to support a request/response architecture required for a server environment. The Report Server's report publishing service has been extended and the ClientReport, WebTier, and XHTML have likewise been enhanced for the new drill down request.
Server -- (drill down request) -- ClientReport
Server -- (drill down request) -- WebTier --- (drill down request) -- Web Browser
Emailing via the ClientReport has been included in prior RB versions and works in the same manner as emailing from a standard Report.
RB 12 introduces the ability to email reports from the WebTier. When enabled, an email button is included in the web viewer's toolbar. Pressing the button displays a web email form.
Submitting the web form sends a request to the WebTier, which internally uses RB's email functionality to send an email with a PDF attachement.
Configuring the WebTier for email requires two steps:
1. Configure the WebTier.EmailSettings
a. Set Enabled to True.
b. Configure the Host, UserName and Password to connect to your email server
c. Optionally specify a default Subject, Body, etc.
2. Include an SMTP plug-in.
The RB email architecture supports SMTP plug-ins. The default MAPI plug-in cannot be used in a Web application. As an alternative use the Indy components included with Delphi or the freeware Synapse components. To specify the desired plug-in add one of the following to the uses clause of your WebTier project.
| SMTP Plug-in | Description |
| ppSMTPIndy | supports Indy 9 and prior |
| ppSMTPIndy9 | supports Indy 9 and prior |
| ppSMTPInday10 | support Indy 10 |
| ppSMTPSynapse | supports Synapse components |