Report saved file as parameters name
I have a report that is going to be saved as .doc or .pdf, my boss wants the name of this file to be saved as the parameters name [it could contain multiple values], but he chooses the开发者_Python百科 file format.
how can I get this done in reporting services?
thx!
You can't from Report Manager whihc is where I suspect you mean
You'd have to wrap a call to ReportServer using SOAP, passing in parameters externally, and renaming in your wrapper. The wrapper would be ASP.NET or WinForms or such.
Alternatively, you may be able to have a custom renderer.
Edit: what your boss asks isn't always possible, even for your boss...
override or handle render method and customize the file name based on parameters provided
精彩评论