Home > SQL Server Tips > Data Warehousing and Business Intelligence > Creating SQL Server Reporting Services templates
SQL Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DATA WAREHOUSING AND BUSINESS INTELLIGENCE

Creating SQL Server Reporting Services templates


Serdar Yegulalp
08.13.2007
Rating: -3.11- (out of 5)


Expert advice on database administration
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


People are always looking for a way to add a little flair to things they do, but often find themselves stymied by the limits of what's possible. Take SQL Server Reporting Services 2005, for instance. One of its biggest missing ingredients — even as of version 2005 — is reusable templates and styles, something Microsoft acknowledged in their FAQ on SSRS (see question #4.5). Without anything to readily available, people have had to turn to home-brewing their own custom Reporting Services templates.

According to MSDN blogger Russell Christopher, there's a way to create templates in SSRS 2005, although it does requires a little work. Assuming you have the SQL Server Business Intelligence Development Studio installed, go to the following directory: \Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\ProjectItems\ReportProject. There, you should see an .RDL document simply named, REPORT.RDL. This is the basic template for all SSRS projects, so it can be edited as needed to create a new basic template from which all future reports can be derived. When you do this, the new items should show up in the Installed Templates area of the Add New Item dialog.

It's also possible to create copies of the REPORT.RDL file, modify those, and drop them back into the directory. When the user chooses to create a new report, they'll then have the option to pick one of the


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
SQL Server Business Intelligence (BI) and Data Warehousing
Ensuring high availability of SSAS databases
Building a data warehousing and BI solution
An overview of SQL Server Report Builder 2.0
An introduction to SQL Server data warehousing concepts
Sharing SSAS cube data in SharePoint with PerformancePoint Server 2007
Microsoft SQL Server Integration Services primer
A short history of SQL Server Integration Services
SQL Server Reporting Services Fast Guide
New data profiling tools in SQL Server 2008
Utilize SSAS for data predictions and classification using Excel

Microsoft SQL Server 2005 (Yukon)
SQL Server Reporting Services Fast Guide
SQL Server Service Broker Tutorial and Reference Guide
Tips for tuning SQL Server 2005 to improve reporting performance
SQL Server consolidation: Why it's an optimization technique
Parent-child dimensions in SQL Server 2005 with Analysis Services MDX
Enforcing data integrity in a SQL Server database
SSIS error message due to installation problem on SQL Server 2005
Should you upgrade to SQL Server 2005 or SQL Server 2008?
Basics for working with DATETIME and SMALLDATETIME in SQL Server 2005
How to configure Database Mail in SQL Server 2005 to send mail
Microsoft SQL Server 2005 (Yukon) Research

Data Warehousing and Business Intelligence
Sharing SSAS cube data in SharePoint with PerformancePoint Server 2007
New data profiling tools in SQL Server 2008
Utilize SSAS for data predictions and classification using Excel
SQL Server 2008 Integration Services delivers new features
Parent-child dimensions in SQL Server 2005 with Analysis Services MDX
Change data capture in SQL Server 2008 improves BI reporting accuracy
Manage traces in SQL Server 2005 Analysis Services with XMLA commands
Tutorial: SQL Server 2005 Analysis Services
Open SSIS packages without validation using these SQL properties
How to process SQL Server 2005 Analysis Services for data availability

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
data aggregation  (SearchSQLServer.com)
data preprocessing  (SearchSQLServer.com)
data warehouse  (SearchSQLServer.com)
FileMaker  (SearchSQLServer.com)
GIS  (SearchSQLServer.com)
MOLAP  (SearchSQLServer.com)
pivot table  (SearchSQLServer.com)
Quiz: SQL Server 2000  (SearchSQLServer.com)
SQL  (SearchSQLServer.com)
T-SQL  (SearchSQLServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


other reports in that directory. Note that the IDE will need to be closed and reopened for the new templates to show up. They're not automatically detected while the program is still running.

There's a few limitations to the way this works. First, the above technique will only work with SQL Server BIDS, as opposed to the full conventional version of Visual Studio 2005. You can't use Visual Studio 2005's RDL builder (which generates files with the extension .RDLC) to work with these templates.

Another big limitation involves Report Builder, which is the ad-hoc client-side reporting system in SQL Server 2005. Its design allows a user to quickly generate reports without needing to know much about the database schema. Sadly, .RDL templates cannot be used in conjunction with Report Builder to accelerate development there — unless, according to Bob Meyers, you strictly follow several rules about the report design:

This might prove to be too limiting for many people, but if these things don't pose a problem, it can be a bit of a timesaver.

An additional approach, documented on the Ureader.com Microsoft community, talks about how to use a slight variant of this technique to create custom template elements. For instance, a corporate logo with no data source (since it's not needed) — for reuse in other projects.


[TABLE]

Rate this Tip
To rate tips, you must be a member of SearchSQLServer.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



SQL Server Development - .NET, C#, T-SQL, Visual Basic
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts