Book Image

SQL Server 2016 Reporting Services Cookbook

By : Dinesh Priyankara, Robert Cain
Book Image

SQL Server 2016 Reporting Services Cookbook

By: Dinesh Priyankara, Robert Cain

Overview of this book

Microsoft SQL Server 2016 Reporting Services comes with many new features. It offers different types of reporting such as Production, Ad-hoc, Dashboard, Mash-up, and Analytical. SQL Server 2016 also has a surfeit of new features including Mobile Reporting, and Power BI integration. This book contains recipes that explore the new and advanced features added to SQL Server 2016. The first few chapters cover recipes on configuring components and how to explore these new features. You’ll learn to build your own reporting solution with data tools and report builder, along with learning techniques to create visually appealing reports. This book also has recipes for enhanced mobile reporting solutions, accessing these solutions effectively, and delivering interactive business intelligence solutions. Towards the end of the book, you’ll get to grips with running reporting services in SharePoint integrated mode and be able to administer, monitor, and secure your reporting solution. This book covers about the new offerings of Microsoft SQL Server 2016 Reporting Services in comprehensive detail and uses examples of real-world problem-solving business scenarios.
Table of Contents (18 chapters)
SQL Server 2016 Reporting Services Cookbook
Credits
About the Authors
About the Reviewers
www.Packtpub.com
Preface

How to view the XML code related to reports


Behind the scenes, the report files (the files with the RDL extension) are really just specialized XML. In this recipe, we'll see how to view them.

Getting ready

In order to make demonstrating the recipe easier, we'll make a minor change to one of the reports. First, open the Report 03-03 Nested Data Regions report.

Click on the report title at the top of the report, which bears the same name as the report.

Go to the Properties window, scroll down, and find the Name property. Change it to ReportTitle:

Figure 3.35

Save the report and close it.

How to do it...

  1. Right-click on the Report 03-03 Nested Data Regions file.

  2. In the menu, select View Code.

  3. You will now see the XML behind the report. At over 650 lines, the listing is too much to reproduce here, but let's look at a small piece. Scroll down to the section that begins with <ReportSections> (in the figure below, it is on line 42, but yours may vary):

    Figure 3.36

  4. Note line 46, Textbox, which now...