Sam Basu guides us through a hands-on guide on getting started with Telerik Report Server.
Reporting is an essential part of many Enterprise workflows. With today's mobile app lifestyle and cloud services, you may think data is ubiquitous for consumption. That's until the C-level executives or Sales folks in your company demand to see fancy weekly reports generated out of data, sitting either on-premises or in cloud storage. On top of stringent formatting requirements, they demand someplace to manage reports behind a safe authentication and the ability to view reports from any device. Don't bang your head against the wall. Bite the bullet and deliver what's needed. The right tools will make all the difference.
Enter Telerik Report Server—your one-stop shop for professional report management. This article unpacks Report Server for you. Let's start!
Report Server comes bundled up as a lightweight web application that you get to download and run on your local web server.
First, head over to the download page and grab the installer, by clicking on the big red button. Alternatively, if you already have a Telerik DevCraft subscription, Report Server can also be downloaded from your Telerik Control Panel. This may also be a good time to check the System Requirements before proceeding.
Once you begin installing Report Server, make note of where you unpack the bits. This is the file location where your Report Server installation will run from.
Sit back and let the installer do its thing. Notice how it is trying to configure your local IIS in the process—you can manually change configurations later, but Report Server offers you a nice default setup.
When the install finishes, take a peek into the files that come with Report Server. As you can see, they include the assets to run a web application—you may look, but you don’t need to change anything.
Next up, open up your local IIS Manager to see what’s been done for you (the screenshot below shows IIS 8 on my Windows 10 machine).
Report Server comes in the form of a simple web application and it has been pre-configured to run as a separate website Telerik Report Server on its own Application Pool.
Check your Site Bindings in the IIS Manager. Report Server simply runs on a open HTTP port like 80 or 83. Click on Browse:xx or point your browser to http://localhost:<port#> and Report Server comes up.
Before you rejoice however, you need to realize the first time you run Report Server is of pivotal importance. That’s because you get to set up the Admin user the first time around—this user can later add other Admins or regular users. So, make note of the credentials as you register the Admin user.
Report Server is meant to be hosted via an on-premise web server or in the cloud. It starts out running locally in your machine’s IIS, ready for you to push to a production URL for access. Before you do so, however, it may be worth trying out a few everyday workings of the Report Server from the user’s standpoint.
In the standalone Report Designer that comes with Report Server, serialization/deserialization of the report definition is done with a specific brand of XML. Reports have a .TRDX extension. If you already have Telerik Reporting installed, you’ll find a lot of sample .TRDX reports in the corresponding Examples folder, which offer an easy way to play with Report Server. Alternatively, once you have Report Server running, just hit the New Report button from the dashboard—this downloads the Report Designer and you can create reports from scratch.
Click the Upload link from the Dashboard menu, pick a .TRDX report and off you go.
Once Report Server has picked up your report, it shows up as a line item in its report collection. Once selected, several menu options light up.
Go ahead and hit the Preview link, or just double click on the report. Report Server opens up a browser window or tab, and shows you a preview of the report. The report view is complete with readability, navigation, download and print options.
Now, if you were the regular user of this Report Server solution, you would want the flexibility to open up reports from any device—including mobile ones, right? Go ahead and resize your browser window to simulate smaller devices, like tablets or smartphones. As the screen real estate shrinks, you’ll see Report Server adjusts the report layout continuously. A Hamburger menu even shows up when the screen is too small for the standard navigation. The responsive design of these reports means that you can deliver your reports to any device!
Want to edit a report, instead of just viewing it? No problem—simply select the report and hit the Edit link on the Dashboard. The standalone Telerik Report Designer will download if you don't have it and then open up in Desktop mode. The Report Designer offers the user a rich WYSIWYG editor to customize existing reports with data binding and a variety of formatting options.
Once you get the hang of it, it’s easy to play around with reports in Report Server—simply upload and deliver. Alternatively, with the stand-alone desktop Report Designer which is hooked up to your Report Server, users can simply add/edit reports locally and changes show up server-side automatically upon saving the reports. The user interface is simple enough for even your non-technical users to be able to store and manage reports without difficulty.
Now, having a report management system is nice, but you still get constant demands on scheduled report delivery. Your sales folks want daily trip reports or your CEO wants a weekly summary. Report Server helps you automate all such demands through robust Scheduling options.
Simply select a report and choose the Scheduling option from the top menu.
You get to set up a scheduling Task to deliver the chosen report in a variety of document formats.
You also get a wide array of choices for task recurrence for the chosen report. Keep in mind, each report is driven by its backend data source and the task runs at scheduled times. So your users get a fresh report delivered to them that pulls in the latest data.
You get full granularity to control the occurrence of the scheduling task. Flexibility FTW!
Once you set up a task, you can see it from your Reports or Schedules dashboard.
Now, who gets these scheduled reports? That’s something you get to decide through Subscribers.
Subscribers can be regular Report Server users or external folks with an email address. You get to control mail and SMTP settings from Configuration options.
Vanilla report storage and management can be no fun. You will be faced with the challenges of grouping reports, streamlining storage and managing users, along with fine-grained control to reports. Fortunately, Report Server offers a wide array of flexibility options.
A decision you have to make up-front is where you want Report Server to store all its reports and metadata for management. Report Server allows easy Storage Configuration to help you choose where you want your storage of reports. Your options are the local file system or Microsoft SQL Server and Redis through data connections. There is no right answer here—it all depends on your needs.
As you start dealing with lots and lots of reports, you’ll invariably want to group reports into logical buckets. This allows for better organization and controlling access to report groups by individual or by collections of users. Report Server allows you to define any number of Categories and manage new/existing reports into respective categories.
The very first user (likely yourself) that you set up in Report Server is the Super User, and beyond that you get robust User Management. Simply navigate to User Management and select an existing user to see the list of options. You get fine-grained control over user permissions towards access control on a specific report or a collection of reports through Categories.
As you set up new users of your Report Server, you can grant them specific User Roles and then control the permissions on a per report or category basis. You also can set up System Administrators, who can manage other users, or Data Administrators, who control storage configuration, along with who gets read/write access to reports.
Report Server, out of the box, supports the standard Forms Authentication. But what if your users do not like to remember one more User ID and Password? Relax. You can leverage the WS Federation standard to authenticate your users. This immediately opens up doors for Active Directory or Azure AD authentication. Simply trust the established Identity Provider to get you a token once the user is authenticated, and then proceed with regular Report Server access rights.
Here’s how you set up WS Federation authentication in Report Server. Simply head over to Configuration | Authentication and provide basic information, like WS Metadata URI, Relaying Party ID (your Report Server installation), the Authority URL that issues the token and the unique Client ID.
Report storage and management is tricky business for most enterprises. Sure you can roll out a home-grown solution, but the enormous efforts needed to build high-performing, responsive and robust management features far outweigh the benefits.
Report Server comes with everything you expect right out of the box. You get to manage storage, retrieval and delivery of reports from any device the users bring to the table. And you also get the flexibility to fine-tune report categorization and storage configurations, on top of robust user management. You’ll love having Report Server on your side.
Sam Basu is a technologist, Apress/Pluralsight author, speaker, Microsoft MVP, believer in software craftsmanship, gadget-lover and Developer Advocate for Telerik. With a long developer background, he now spends much of his time advocating modern web/mobile/cloud development platforms on Microsoft/Telerik stacks. He passionately helps run The Windows Developer User Group (http://thewindowsdeveloperusergroup.com), labors in M3 Conf (http://m3conf.com) organization, serves as INETA Secretary (http://www.ineta.org) and can be found with at-least a couple of hobbyist projects at any time. His spare times call for travel and culinary adventures with the wife. Find out more at http://samidipbasu.com.
Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.