We are providing customers the ability to create subscriptions to reports. We had planned on setting the IncludeReport extension to true and letting customers select the render format. However, we determined that due to email size limits, we can no longer go that route. Instead, I will need to set IncludeReport = false and IncludeLink = true. I saw that the link in the email takes the user to ReportServer, where they then have to select their export format.
Is there any way around this behavior? Ideally what I'd like to have happen is that the user receives an email with a link to their report, and when they click on that link they get a file in the format described in RenderFormat. I provide the user with my own UI when they view the report/add subscriptions on our site, so to have them go to a new UI (ReportServer) after clicking the link in the email seems like it would be confusing to them.
In case this helps anyone, thought I'd post my solution:
Instead of using MSRS's generated link, I have set both IncludeReport and IncludeLink to false. I then generate my own link and it to the comments section of the email using ExtensionSettings. When the user clicks on the link, they are taken to an aspx page where I export the file programmatically (see example code from msdn: http://support.microsoft.com/?kbid=875447) using the format specified in the subscription properties.
No comments:
Post a Comment