Creating a Visualforce report

Salesforce provides powerful analytic capabilities through its report and dashboard builders, but there are times when reporting requirements cannot be satisfied through the standard functionality, for example, where data from a number of different sources is required to be presented in multiple formats. In this scenario, Visualforce can give fine-grained control over the layout of the results, while a custom controller allows retrieval of any accessible data in the system.

In this recipe, we will create a Visualforce report that retrieves all cases matching the criteria specified by the user and outputs these in a tabular format containing details of all cases, keeping a running total of the number of cases with the ...

Get Visualforce Development Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.