Friday, February 24, 2012

obtain the name and path of a report

how to save the name and the path of a report on my database when the user click save report

Does this cover what you need?

http://msdn2.microsoft.com/en-us/ms155836.aspx

|||

I need something that doesn't depend on a stored procedure or manual procedure.
I need to execute something when the user saves the report; something that returns the path for this report.
I need to generate in my website all paths for reports recently saved.

thanks again and I′ll be waiting for your answer

Regards

|||

What is "recently saved?" Is it time-bound? Why not use the SOAP API ListItems() and get the created date for every report in the catalog, and then filter for the ones which were recently created?

There is no supported way to inject your own code into the CreateReport() API which is used to publish reports.

|||

Let me try to be a little more specific. What I want is to be able to "catch" the event where the user saves or closes the report, so that I can create the related class, and it has to be right when it happens, it can′t be later. It would also be useful if the event could identify the name and path of the report I just created. I am sorry if I am not able to be a little more clear regarding this subject, but I hope you understand what I want, and if there is no way to do it just let me know either way.

|||

There is no built-in way of doing this via reporting services.

|||

and with reporting services extensions?

or is there another possible way to do this?

|||

Though you can't do this generically, you can provide a custom user interface for your users to access reports. In this way, you can determine when users click on reports or when they navigate away from them. The RS SOAP API allows you to expose all of the same functionality as you see in SQL Server Management Studio or Report Manager.

RS Extensions do not help you in this respect.

Not entirely sure what you want this kind of behavior for...

-Lukasz

No comments:

Post a Comment