简体   繁体   English

如何配置SSRS服务器仅发送报告服务器URL?

[英]How do I configure SSRS server to only send a report server URL?

I need to disable the option to attach a report in an SSRS subscription in SQL 2016. The only option that should be available is to send the report URL. 我需要在SQL 2016中禁用在SSRS订阅中附加报告的选项。唯一可用的选项是发送报告URL。

SSRS Subscription Setup SSRS订阅设置

I am curious how to perform the recommended method from MSDN to "configure the report server to send only a report server URL" found in this article https://msdn.microsoft.com/en-us/library/ms160334.aspx . 我很好奇如何从MSDN执行推荐的方法以“将报告服务器配置为仅发送报告服务器URL”在本文https://msdn.microsoft.com/zh-cn/library/ms160334.aspx中找到。

I tried excluding a render format in my rsreportserver.config like this, but it didn't seem to do anything. 我试图像这样在rsreportserver.config中排除渲染格式,但是似乎没有任何作用。

    <ExcludedRenderFormats>
      <RenderingExtension>PDF</RenderingExtension>
    </ExcludedRenderFormats>

I have a test SSRS 2016 environment installed using SSRS Native mode but if needed, I can uninstall and re-install if necessary with a non-default configuration. 我已经使用SSRS本机模式安装了测试SSRS 2016环境,但是如果需要,我可以卸载并根据需要使用非默认配置重新安装。

I figured it out. 我想到了。 In the rsreportserver.config, find this element: 在rsreportserver.config中,找到以下元素:

<Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider">

Inside of that element is an element to add excluded file types. 该元素的内部是添加排除的文件类型的元素。 Just add all the supported file types and then the attachment option is effectively disabled. 只需添加所有受支持的文件类型,然后即可有效禁用附件选项。

                    <ExcludedRenderFormats>
                        <RenderingExtension>HTMLOWC</RenderingExtension>
                        <RenderingExtension>NULL</RenderingExtension>
                        <RenderingExtension>RGDI</RenderingExtension>
                        <RenderingExtension>PDF</RenderingExtension>
                        <RenderingExtension>MHTML</RenderingExtension>
                        <RenderingExtension>WORD</RenderingExtension>
                        <RenderingExtension>EXCEL</RenderingExtension>
                        <RenderingExtension>PPTX</RenderingExtension>
                        <RenderingExtension>IMAGE</RenderingExtension>
                        <RenderingExtension>WORDOPENXML</RenderingExtension>
                        <RenderingExtension>EXCELOPENXML</RenderingExtension>
                        <RenderingExtension>CSV</RenderingExtension>
                        <RenderingExtension>XML</RenderingExtension>
                        <RenderingExtension>ATOM</RenderingExtension>
                        <RenderingExtension>HTML4.0</RenderingExtension>
                    </ExcludedRenderFormats>

Finally, restart the SQL Server Reporting Services services. 最后,重新启动SQL Server Reporting Services服务。

Desired end result: 所需的最终结果:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM