如何从 SharePoint 列表创建数据驱动的 SSRS 订阅?
我正在尝试设置 SSRS 报告的数据驱动订阅。我想使用包含收件人电子邮件地址和报告参数的共享点列表,该参数将为每个收件人以不同的方式过滤报告内容。
Microsoft SharePoint 列表是创建数据驱动订阅向导 (SSRS 2008 R2) 中的选项之一,但我在互联网上找到的教程都没有描述如何配置连接字符串并制定查询以返回列表的内容。我在创建的数据驱动订阅上找到的所有内容都使用与 Sql Server 数据库的连接来驱动交付和配置。我宁愿使用共享点列表,因为它似乎是管理收件人的简单方法。
有人做过这个或者有关于如何配置此设置的示例的良好链接吗?
I am trying to set up a data driven subscription to an SSRS report. I'd like to use a sharepoint list that contains the recipient email address and a report parameter that will filter the contents of the report differently for each recipient.
Microsoft SharePoint List is one of the options in the create data-driven subscription wizard (SSRS 2008 R2) but none of the tutorials I can find on the interwebs describe how to configure the connection string and formulate the query to return the contents of the list. Everything I can find on created data-driven subscriptions uses connections to Sql Server databases to drive the delivery and configuration. I'd rather use a sharepoint list as it seems like an easy way to manage the recipients.
Anybody done this or have a good link to examples of how to configure this setup?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的连接字符串与用于将 SSRS 报告连接到共享点列表的连接字符串相同。它应该类似于 http://{sharepointDomain}/{YourSite}。
至于查询,它应该看起来像这样——我通过使用 SSRS 中的查询设计器得到了这个。我发现使用查询设计器来消除查询是最好的——然后,如果您需要添加过滤器或任何内容,您可以向可选标记添加更多语法。
这是我写的一篇文章,提供了设置它的分步指南。
http://jaysonseaverbi.blogspot.com/2013/11/data -driven-subscription-using.html
Your connection string is the same connection string you'd use to connect an SSRS report to a sharepoint list. It should look like this http://{sharepointDomain}/{YourSite}.
As for the query, it should look something like this--I got this by using the query designer in SSRS. I find that using the query designer to stub out my query is best--then if you need to add filters or anything you may add more syntax to the optional tags.
Here's an article I wrote giving a step-by-step guide to setting it up.
http://jaysonseaverbi.blogspot.com/2013/11/data-driven-subscription-using.html
http://msdn.microsoft.com/en-us/library/ee633650.aspx 享受吧
! :)
http://msdn.microsoft.com/en-us/library/ee633650.aspx
Enjoy! :)