SQL Server Reporting Services - output subreports to individual files - sql

I have a parent report that generates a series of subreports. After clicking the preview button, I can see the final report built with the actual data, and I may print it or save it to file. File may be a MS Word doc, a PDF or others. Perfect. I can do that individually to each report I need. My problem: I have a base report that will run a subreport several times. Instead of having them all in a big PDF file as output, I need to save each individual subreport as a file separately. Otherwise, I will have to run these subreports individually each at a time, which will eat up a lot of time, besides being more error prone. Any help appreciated. Thank you.

Can you create a subscription for each sub report to save a PDF to a file share?

Related

Add new column in Cucumber overview report

Our cucmber-overview report looks like below.
We want to add a new column to this report with name "Author" of the script.
We are using selenium,Java and gherkin for automation.
Can anyone help ?
Thank you.
I'm not sure if there's an easy way to add this data during the test execution itself, but as the report is an HTML file, then you can surely manipulate it after the fact.
You'd probably need to save your additional information during the test execution in a separate file or database. Then, in a separate process after the test execution completes and the original report is generated, you should read this data and add it to the HTML file using jsoup or something similar.

Exporting part of SSRS report to separate pdf file

I'm trying to acheive having a summary section of a report saved into a separate pdf file. (Basically trying to avoid running two reports for the same data.)
Is it possible to export a particular part of an SSRS report to a separate pdf file?
I.e. If I had a summary table/rectangle within the main report, can it be saved separately from the main report? Having a pdf editor to split the file as suggested in:
https://www.experts-exchange.com/questions/27938046/ssrs-export-subreports-as-seperate-reports.html
I don't feel would save the time/hassle it costs to run the report twice.
Would this be an application for a linked report? I haven't used these, but it would seem a lot of information to pass through parameters (or am I missing something?).
I don't think that can be done in SSRS: you'll need special code like in your example that splits the pdf for you. If you just want a hands-free option, create two reports and have them run via subscription into the folders you need.

Automatically generate and export into PDF Crystal Reports 10

I have a created a report using Crystal Reports 10. The report contains information about the activity of a person. I need to generate and export this report into PDF for a number of persons (e.g. 70) automatically and save each PDF file with the name of the person, so I will get 70 PDF files.
I have searched for a solution on the Internet but did not manage to find anything helpful.
Can anyone help me with an answer?
Thank you!
You should hook up a parameter to the report's record filter - this way, you can make the report display only records for one particular person.
Then it's just a matter of writing a loop that sets the parameter value and exports a (uniquely named) PDF for each person.

Add existing .pdf to report?

Is possible add existing pdf file to ActiveReports 6 report?
We have two application.
First application create report and save it as pdf in shared folder.
Second application create own report and if report from first application exists - user want that report of first application will be added to report of second application.
Applications have different database. So regenerating first report not a solution for this case.
pdf combining is one workaround - which can be used if no solutions will be found.
You can do what you're describing with the rdf file format 'activereports' built in format. Not with pdf. However, once the second report is generated and the two documents ar combined you can export them to pdf
So far answer for question is No, it is not possible.
From Internet found only that in DataDynamic(ActiveReports is/was a part of DataDynamics) reports is property
"append existing .pdf to report"
But ActiveReports is another product, which haven't this possibilities.
In my case we decide to use #Issam workaround(save .rdf file to another folder and use it later with another report).
I accepted own answer, only because the reason, question was created, was to check if this kind of possibility exists for ActiveReports

SSRS 2008: How to generate multiple reports immediately?

Im building a site which brings up SSRS reports by opening new windows with the report url and report parameters. I can currenlty open a window for each report they want to run.
However, they also want the option to save the reports to a file share or Sharepoint of their choice, instead of having a bunch of browser window pop-ups for each report.
I understand I can use SSRS web services to setup a schedule (to run in a couple minutes from the time of request) which can save those files to a file share (or Sharepoint) but that seems like a hack to get a one time generating of reports onto a file share or sharepoint.
Is there any other way to instantly generate a bunch of reports, one time, immediately, without having to set them up on a scheduler that is set to run a couple minutes from the time they set it up?
"Note, they DO NOT want one report that has all the reports in it, these are seperate reports that are already built, and they want one file/window per report."
Not sure what you want when you say you want them all at once but one file window/per report? What presentation layer is showing this? You can make three seperate web calls at the same time to the webservice instead of the hosting site:
h ttp://(servername)/(ReporstServer)/PathtoReport1
h ttp://(servername)/(ReporstServer)/PathtoReport2
h ttp://(servername)/(ReporstServer)/PathtoReport3
instead of
h ttp://(servername)/(Reports)
If you just mean 'separate pages' on an Excel workbook you can do that with one report nesting other sub reports. You can build a master report that has rectangle objects that define pages as their properties and place a sub report in each of these rectangles.
Or you could make an html page that references the calls three seperate times in a 'form' object of the HTML doing a 'post' command.
< Form id="SSRSRender" action="http://(servername)/(reportServer)/(report) method="post" target="self">
"However, they also want the option to save the reports to a file share or Sharepoint of their choice, instead of having a bunch of browser window pop-ups for each report.
I understand I can use SSRS web services to setup a schedule (to run in a couple minutes from the time of request) which can save those files to a file share (or Sharepoint) but that seems like a hack to get a one time generating of reports onto a file share or sharepoint."
That's not a hack, that is the preferred method of saving a file is using the built in web service scheduler. Once a report is hosted (on a server hosting the SSRS) it can have configs set for SMTP send outs, file saves, and snapshots made.
If that is not enough you can create your own proxy classes if you want in C# or VB.NET and try to build your own front end talking to SSRS through SOAP requests to the Web Service.