I have created a report for particular products which pulls up product number and types of products related to those product numbers. It is a very simple report where user is allowed to enter product number in a parameter which returns all the data related to this product. Main purpose for this report was to create pdf files for individual product numbers and all its data. So I decided to do data driven subscription to provide this functionality to the business users. Now, in the business requirement it says that "business submits request to pull 200 products and get a message saying "your request will be delivered to this particular folder within 24 hours" Now this is the part where I got confused. Can a report take request and display messages like that?
Requirements: 1.request is submitted by business to pull 200 producttypes let's say today. Then message is received "thank you for requesting. We will send an email to"[email address just entered] " when the report is ready. Files will be delivered to the following folder: [Path+date, time]" I don't know what email address he's talking about here I'm assuming he wants the report to accept emails when submitting the request. And date time on the folder path will the time request was submitter. 2. A job is kicked off to slowly deliver producttypes to the folder path. 3. Resulting file are places in a new subfolder named todaysdate+time. 4. Filename is productnumber. I have got the part down to create a report that has two columns productnumber and producttypes which has a data driven subscription that delivers files with productnumber name in folder. But I don't understand this message and request thing he's talking about. Also how to generate a subfolder depending on the time of the request. Thanks Daniel
Yes
Report can handle this.
Please provide more details and I will work this out for you.
Daniel
One way that comes to mind is by having two sets of reports and two stored procedures.
Report 1 and stored procedure1 would get the parameters and update the report data (see "When the report data is updated on the report server" option in the data driven subscription wizard) and the other report would then be executed and email/save the files in the required format.
Your first SP however needs to flag that your second report needs to be executed.
Related
I have an SSRS report that scheduled to send once a day at 9PM. Every time I try modifying the recipients, they revert back to the e-mail address for the person that created the report.
It's only displaying that in SSRS, if i check the subscriptions in the the ReportServer database, it shows the correct recipient list (It's not showing those that are CC'ed though). It also says that on the last run it sent to each of the recipients intended to be on the report.
I've tried modifying it a few times already, CC'ing myself on the report, but I haven't received the report once and the recipient list keeps reverting back. I deleted the report and re-created it from scratch but the same thing occurs.
I also have some reports that say it was sent on schedule to all the recipients, but the e-mail never comes through. Looking through the ExecutionLogStorage table it also seem to show that it was sent on schedule.
I have deployed birtviewer on tomcat 7. I am using tomcat form based authentication to control users access to the reports. Currently I have come up with a requirement to store to mysql database the user visits counts and the time he spends on each birt report
I have done seme research on how to extract total session time from session variable but the problems I am facing are below
1) A session starts as soon as a user logs in. How do I collect the session info for the subsequent reports? For example I have some bunch of reports that are connected to a main report. If a user logs in, he is taken to the main page. After that, the user is not required to log in to the next reports that user visits. If the user visits other reports, how do I collect the information about the time that user spends on each report?
2) I would also like to collect the visit counts that a user makes to each report? How can I collect this info?
3) How can I send this info from birt reports to the database?
Please let me know if you have any questions or need more explanation. I have googled and could gather information about how to extract info from session variable but I could get any info on how to do it for each birt report separately (even though all the reports user the same session info)
Regards
Arif
you could write a ServletFiler in Java and add the packed jar to the WEB-INF\lib folder of your BIRT Viewer and configure the Filter mapping in the WEB-INF\web.xml of your viewer, so it is triggered every time you call an URL of the BIRT Viewer.
Insider your filter you can read the session time and save the timestamp and a click counter to your database. You can calculate the visited time by substracting it from the next saved timestamp identified by the session ID.
I have a ssrs project made up of various reports and subreports, and when I preview it I simply select the parameter (unique ID) and it creates a report for this ID.
The parameter drop down is a list of about 100 different ID's and I just want to know how I can just make it create all 100 reports. I only know how to preview one at a time.
Do I need to set up a report server or something?
There are many ways to go about it. You don't provide much context or detail about your situation, but in general here are two options:
Create a master report that has a dataset with all 100 ID's. Include a subreport (your actual report) inside a list and pass each ID as a parameter.
Deploy the report to a report server and use data driven subscriptions.
Programmatically generate the reports, for example by pulling a report from a report server for each ID, possibly via the web service endpoint or report server URLs.
on SQL Server Reporting Services, I have the below requirnment for a report
Users are authenticated for Reporting using Active Directory (windows domain accounts)
We have an custom authentication DB and the data that should appear on the report are related to users on this Authentication DB
Need to generate a report that list Sales data for all the stores, and "all data" should only be available to "Admin" users
For "Non Admin" users, same report should only display sales data for the single store that they are associated with. (Not the whole list of sales data for all stores)
Definition of "Admin", "Non Admin" user categories are defined on the custom Authentication DB.
Really appreciate if someone could give me the directions on what approaches I should follow.
Please let me know if I should further clarify my requirements.
Thanks.
In SSRS you can access the User ID (=User!UserID). Set this up as an internal parameter for the report, and pass this into your dataset queries as a parameter.
Now you can join to your custom permissions table in your dataset queries.
Use a query constructed with this method to populate your parameter drop down for "Store."
Also use the parameter again and double check that the user has permissions in your main query that returns results. This will avoid a user being able to manually specify a store that they don't have permissions for. (Otherwise URL access would allow users access to reports they shouldn't get.)
Let me know if any of this isn't making sense.
I currently use www.discountasp.net for my web hosting. When a customer places an order I want to find a way that I can get a pdf version of the invoice to my local machine. The reason I want to do this is that I'd like to have a schedule task on my local machine that grabs all orders from the day at a specified time and print the pdf documents off ready for me to pack the goods. At the very worst I'd like to have them as attachments to emails sent to my machine.
I can see that SQL reporting can export to pdf so I'm assuming I can somehow pass an order id to a page that calls the SQL report to generate the invoice and send me the file. The other option is to store the invoice on the server and I'll create a script that logs in, copies it down, then clears it off. I've had 'slight' exposure to working with SQL Reports before but nothing along this line.
Has anyone got any experience with something like this that would know and possibly specific experience with it being hosted on discountasp.net to let me know if it's possible? Could you give me some advice on what to do or how to do it to solve my issue?
Yes it can.
Reporting Services includes an e-mail
delivery extension that provides a way
to e-mail a report to individual users
or groups. The e-mail delivery
extension is configured through the
Reporting Services Configuration tool
and by editing the Reporting Services
configuration files.
E-Mail Delivery in Reporting Services