There are different approaches to organizing folders on the MS SQL Server Reporting Services. One of them is to group reports on topics or modules and grant access to all users of iScala. The advantage of this approach is in simplicity, but the disadvantage is that anyone can view any report. In this article I will share a more complex, but much more «advanced» way to organize folders and access not only to the reports in them itself, but also to restrict access to data in these reports.
In the picture below you can see the folders associated with the department numbers (in iScala this is the accounting dimension 1 «Department»):
Every employee has access to the shared folder «Departments», but inside it only in the folder of his own department. In other words, in the folder 1002, for example, only employees of the Front Office department have access, and other users are not allowed to it. The reports themselves (the originals) are in a separate folder where users do not have access, but we can create «Linked Reports» in the departmental folders, which are a kind of shortcut to the main report, but they have their own set of parameters. To create such linked report, you need to do the following:
- Choose the original report and click on the item indicating the drop-down menu. Next, select the command «Create Linked Report»:
- Copy the name of source report as the name of the linked report and click the button «Change Location»:
- Select the folder where you want to place the linked report and click «OK»:
- After you return to the linked report creation form, click «OK»:
- The report server will generate the associated report. But we still need to change the parameters, for which we need to go into the «Manage» mode. To do this, click on the report title in the navigation line:
- After switching to the «Manage» mode, go to the parameters tab:
- This picture most interesting 🙂
In the report there is a parameter with the department code (Accounting dimension 1 in iScala).
- As a result, users of department 2301 will see only a set of «their» warehouses, and warehouses of other departments will not see:
- And for the financial department, the hidden parameter «Dpt» is set to «*» and users of this department will be able to see all warehouses
You can read additional article about automation of creating linked reports in case of complex folder structure (sorry, in Russian only) «Автоматизация создания связанных отчётов при сложной структуре»
If you have any questions, do not hesitate to ask:
Other procedures and articles in English:
- How to delimit user access on the Reporting Server?
- Standard steps when working with the «Purchase Order» module
- The most common mistake when working with AFR reports
- Usage of external tables with primary data. How to design Daily Budget Report.
- How can I create an AFR report in 2 currencies using fixed rate?
- How to create AFR report with daily budgets from iScala?
- Reporting tools usage survey
- Sent PO electronically to Supplier’s FTP site
- Requisition Management module quick user guide
- What can you get from your iScala by using new technologies?