2013-03-22 68 views
0

作爲標題說我想從我的SharePoint站點獲取一些列表項到我的SSRS 2005報告中。我嘗試着去修改SSRS 2008中的一些教程,比如這個: http://nikspatel.wordpress.com/2010/04/30/step-by-step-consuming-sharepoint-lists-data-in-the-ssrs-reports/ 問題是,當我嘗試驗證我的查詢時,卡住了第6步。我嘗試通過一些查詢,我發佈如下:請求從SSRS 2005的Sharepoint 2007列表

<Query> 
<SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems 
</SoapAction> 
<Method Namespace='http://schemas.microsoft.com/sharepoint/soap/' Name = 'GetListItems'> 
<Parameters> 
<Parameter Name='listName'> 
<DefaultValue>EraDemandes</DefaultValue> 
</Parameter> 
<Parameter Name='rowLimit'> 
<DefaultValue>100</DefaultValue> 
</Parameter> 
<Parameter Name='query' Type='xml'> 
<DefaultValue> 
    <Query> 
    <Where> 
     <Eq> 
     <FieldRef Name='ID'/> 
     <Value Type='Integer'>1016</Value> 
     </Eq> 
    </Where> 
    </Query> 
</DefaultValue> 
</Parameter> 
<Parameter Name='viewFields' Type='xml'> 
<DefaultValue> 
<ViewFields> 
    <FieldRef Name='Title' /> 
    <FieldRef Name='ID' /> 
</ViewFields> 
</DefaultValue> 
</Parameter> 
<Parameter Name='queryOptions' Type='xml'> 
<DefaultValue> 
<QueryOptions> 
    <IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns> 
    <DateInUtc>TRUE</DateInUtc> 
</QueryOptions> 
</DefaultValue> 
</Parameter> 
</Parameters> 
</Method> 
<ElementPath IgnoreNamespaces='True'>*</ElementPath> 
</Query> 

    <Query> 
     <SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction> 
     <Method Namespace="http://schemas.microsoft.com/sharepoint/soap/" Name="GetListItems"> 
      <Parameters> 
      <Parameter Name="listName"> 
       <DefaultValue>Liste des Demandes</DefaultValue> 
      </Parameter> 
      </Parameters> 
     </Method> 
     <ElementPath IgnoreNamespaces="True">*</ElementPath> 
    </Query> 

我試圖刪除/修改所有參數沒有成功。我真的不熟悉SSRS,所以請繼續並提出你需要的每個問題。 我自己幾個問題:

  • 在2個查詢我的列表中使用2型動物的名字:「EraDemandes」是我在URL了,當我訪問通過SharePoint和「清單當然DES我的列表中的名稱Demandes「是Sharepoint列表的名稱。我相信在sharepoint中有2個名稱,一個顯示名稱和一個分享名稱。我應該使用哪一個?
  • 我的根Sharepoint網站集是'http://m-epderaqua/default.aspx',我想在這個集合的所有子網站(http://m-epderaqua/ERA73/default.aspx or http://m-epderaqua/ERA38/default.aspx)中搜索我想列出的列表。我應該在我的數據源中使用哪個網址?我應該使用許多數據源(如每個子網站)?

幫助PLZ。

回答

0

我不知道爲什麼,但它現在工作得很好。我想維護團隊在週末做了些什麼,但我不知道是什麼...