Hello Folks!!
This time I comes up with one of the very interesting topic of the SQL Server Reporting Services, this will allow user to get rid of the cumbersome task of deleting reports manually and in fact save lot of time that can be utilised in other more important productive work.
Now a days, every organization are indulging into migration of their deliverables from one location to another, sometime for better technology and sometime for removing all the obsolete objects from their environment, let's suppose your organization is also following the same path and on one very good morning of your work day, you will receive request from the client to remove all unwanted or obsolete reports that they have in our very own Report Manager, sounds good and affirmative but when you explored the details of the request then you get to know that the number of reports are quite high in number however your client provided you the list of all the reports along with the path or URL of all the reports those are resides on Report Manager.
Such kind of request are actually very time consuming and if one has to go with traditional way of deleting report one by one after navigating reports over the Report Manager, it will take ages to complete the process, its not only about time, it also quite frustrating, tedious and cumbersome task to deal with.
Let's explore the possibility of optimised solution for such kind of client request, let's discuss in detail.
Let's start the road roller with some illustration.
Requirement :
Let's say you are working in Sales organization and there are numerous reports residing on Report Manager of SQL Server Reporting Services, you get a JIRA request stating to delete OR remove all the reports from the Report Manager those are obsolete or Not in use any more (they have also provided list of report along with path of all the reports in Report Manager) reason being, client really do not want to waste its time, money and resources for those reports which are useless for them and they will not use it any time in future.
Resolution :
Public Sub Main()
rs.DeleteItem("/Report_test/TestReport/")
End Sub
Hurray !!! Here we go, we got the desired result.
Delete multiple Reports at a time
Public Sub Main()
rs.DeleteItem("/Report_test/TestReport/")
rs.DeleteItem("/Report_test/TestReport1/")
End Sub
Hurray !!! Here we go, we got the desired result.
No comments:
Post a Comment