将保存的文件报告为参数名称

发布于 2024-10-10 01:13:10 字数 110 浏览 0 评论 0原文

我有一份报告要保存为 .doc 或 .pdf,我的老板希望将此文件的名称保存为参数名称 [它可以包含多个值],但他选择文件格式。

我怎样才能在报告服务中完成这项工作?

谢谢!

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 file format.

how can I get this done in reporting services?

thx!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

零崎曲识 2024-10-17 01:13:10

你不能从报表管理器中得到,我怀疑你的意思是

你必须使用 SOAP 包装对 ReportServer 的调用,在外部传递参数,并在包装​​器中重命名。包装器可以是 ASP.NET 或 WinForms 等。

或者,您可以拥有自定义渲染器。

编辑:什么你的老板要求的并不总是可能的,即使对你的老板来说也是如此......

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...

二手情话 2024-10-17 01:13:10

重写或处理渲染方法并根据提供的参数自定义文件名

override or handle render method and customize the file name based on parameters provided

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文