开发者

Report saved file as parameters name

开发者 https://www.devze.com 2023-02-02 17:47 出处:网络
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百科

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

0

精彩评论

暂无评论...
验证码 换一张
取 消