Example: Creating a Custom Report

In this example, we will use the Report Wizard to create a custom Administrator Actions report sorted by Site Name, like one shown below. The example assumes you have installed ARM with SQL Server Express and have performed administrator actions in EFT Server, such as creating users, stopping/starting sites, and so on. (The HSM is required for Admin Actions reporting.)

To create the report

  1. In the administration interface, connect to EFT Server, then do one of the following:

    The Create New Report dialog box appears.

  2. Type a title for the new report, then click Create. The Report Designer appears.

    So far, all you have done is opened the VSReport Designer, which allows you to open the New Report Wizard, which we will do next. You will delete this "template" later.

  3. Click File > New Report or click the New Report icon on the toolbar. The New Report Wizard appears.

  4. By default, the ConnectionString box displays information for the database that you specified when you installed the Auditing and Reporting module. If necessary, you can type a different string that is used to connect to the data source. Click  to define the connection string. The Data Link Properties dialog box appears.

  5. On the Provider tab, click Microsoft OLE DB Provider for SQL Server as the provider to connect to the SQL Server database, then click Next. The Connection tab appears.

  6. In Select or enter a server name, click the arrow to select a name or type the name of EFT Server.

  7. In Enter information to log on to EFT Server, click an authentication option to log on to EFT Server:

    icon_info.gif

    Select the Blank password check box if EFT Server requires a blank password to log on the database server. Even if you do not type any password when you create a user account on a database server, you can select the Allow saving password check box. In this case, EFT Server takes a dummy password value and saves that value in the connection string. Selecting the Blank password check box disables the password field.

  8. Click one of the following:

  9. Click OK in the Data Link Properties dialog box to return to the New Report Wizard.

  10. Click Table, then click tbl_AdminActions.

    db_newreportwizard.png

  11. Click Next. The fields that appear in the Available list are from the table you selected in the previous step.

  12. Click and drag SiteName to the Groups field, then click and drag each of the other fields, except ID and Transaction, into the Detail box. (If you click the right-facing arrows, every field will move to the Detail area. Then you can individually move back the fields you do not want.)

    db_newreportwizardgroupsitename.gif

  13. Click Next. The layout options appear.

  14. Keep the default settings and click Next until you get to Step 5. (For details of using the report wizard to define layout options, refer to Creating a Report with the Report Wizard. For this example, we use the default options.)

  15. Type a title for the report, then click Finish.

  16. Let's get rid of that "new" template that was created when you opened the VSReport Designer. In the left pane, click the name of the template you want to remove, then click the delete icon icon_reporttoolbarremove.gif on the toolbar.

  17. Click File > Save or click the Save icon on the toolbar.

  18. Click File > Exit to close VSReport Designer. The report appears in the tree on the Reports tab.

  19. In the right pane, click Show Report. The report appears in the preview pane.

    illust_reportadminactions.gif

    You can filter the results, such as show results only for certain Sites, a specific administrator account, or a certain date.

  20. Click Save As to save the report. The report displays EFT Server administrator actions sorted by Site Name and Server.

    illust_reportadminactionspdf.gif