Using SharePoint SOAP with jQuery GetListItems - Simple but can't work it out!

前端 未结 2 1704
情歌与酒
情歌与酒 2021-01-14 17:03

I\'m trying to load in a SharePoint list to a Unordered List so I can create a simple search function (the Sharepoint Search is just horrible). The code I have borrowed and

2条回答
  •  悲&欢浪女
    2021-01-14 17:28

    On your Result function, add an alert(xData.responseXML.xml); to make sure you're getting the ows_ReportName attribute.

    Perhaps its name is spelled slightly differently (they're case-sensitive). Alternately, try ows_Title to see if it returns defined data. If so, you're getting the XML back, it just can't find ReportName as a valid column in the returned data.

提交回复
热议问题