Creating an SSRS report definition file from a template
To create an SSRS report definition file from a template:
-
Locate the template you want to use as the basis for your report.
In these examples, we use these files:
- Template_Report_Landscape.rdl for a stored procedure-based report
- Template_Report_Landscape_IDO.rdl for an IDO-based report.
- Copy the template file into your report project folder.
- Rename your copy of the template file as either UserTaskSP.rdl or UserTaskIDO.rdl (for the stored procedure report or the IDO report, respectively).
- In Visual Studio, in the Solution Explorer, right-click Reports.
- From the context menu, select Add > Existing Item.
-
Select your *.rdl file and then click Add.
Visual Studio adds your *.rdl file to the list of reports.
-
To open your *.rdl file, double-click its name in the Solution Explorer.
Visual Studio displays a workspace with the report definition file in Design Mode.
Notice that the report template already has report headers and footers configured. Many of the entries in the headers and footers are preconfigured to pick up variable values from within the system and need not be modified.