Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/reporting-services/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何从SharePoint列表创建数据驱动的SSRS订阅?_Sharepoint_Reporting Services_Subscription_Data Driven - Fatal编程技术网

如何从SharePoint列表创建数据驱动的SSRS订阅?

如何从SharePoint列表创建数据驱动的SSRS订阅?,sharepoint,reporting-services,subscription,data-driven,Sharepoint,Reporting Services,Subscription,Data Driven,我正在尝试为SSRS报告设置数据驱动订阅。我希望使用一个sharepoint列表,其中包含收件人电子邮件地址和一个报告参数,该参数将对每个收件人的报告内容进行不同的筛选 Microsoft SharePoint List是创建数据驱动订阅向导(SSRS 2008 R2)中的选项之一,但我在互联网站上找不到任何教程描述如何配置连接字符串和制定查询以返回列表内容。我在创建的数据驱动订阅上可以找到的所有内容都使用到Sql Server数据库的连接来驱动交付和配置。我宁愿使用sharepoint列表,因

我正在尝试为SSRS报告设置数据驱动订阅。我希望使用一个sharepoint列表,其中包含收件人电子邮件地址和一个报告参数,该参数将对每个收件人的报告内容进行不同的筛选

Microsoft SharePoint List是创建数据驱动订阅向导(SSRS 2008 R2)中的选项之一,但我在互联网站上找不到任何教程描述如何配置连接字符串和制定查询以返回列表内容。我在创建的数据驱动订阅上可以找到的所有内容都使用到Sql Server数据库的连接来驱动交付和配置。我宁愿使用sharepoint列表,因为这似乎是管理收件人的一种简单方法

有人这样做了,或者有一个很好的链接指向如何配置此设置的示例吗?

享受!:)


享受!:)

您的连接字符串与用于将SSRS报告连接到sharepoint列表的连接字符串相同。它应该是这样的http://{sharepointDomain}/{YourSite}

至于查询,它应该是这样的——我是通过在SSRS中使用查询设计器得到的。我发现使用查询设计器来删除我的查询是最好的——如果您需要添加过滤器或任何东西,您可以向可选标记添加更多语法

<RSSharePointList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ListName>MyList</ListName>
  <ViewFields>
    <FieldRef Name="name" />
    <FieldRef Name="email" />
  </ViewFields>
  <Query> --if you have any filters, put them in this section here, otherwise remove the Query tags
  </Query>
</RSSharePointList>

迈利斯特
--如果您有任何筛选器,请将它们放在此处的此部分中,否则请删除查询标记
下面是我写的一篇文章,它提供了一个逐步设置的指南


您的连接字符串与用于将SSRS报告连接到sharepoint列表的连接字符串相同。它应该是这样的http://{sharepointDomain}/{YourSite}

至于查询,它应该是这样的——我是通过在SSRS中使用查询设计器得到的。我发现使用查询设计器来删除我的查询是最好的——如果您需要添加过滤器或任何东西,您可以向可选标记添加更多语法

<RSSharePointList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ListName>MyList</ListName>
  <ViewFields>
    <FieldRef Name="name" />
    <FieldRef Name="email" />
  </ViewFields>
  <Query> --if you have any filters, put them in this section here, otherwise remove the Query tags
  </Query>
</RSSharePointList>

迈利斯特
--如果您有任何筛选器,请将它们放在此处的此部分中,否则请删除查询标记
下面是我写的一篇文章,它提供了一个逐步设置的指南