Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: GetListItemChanges to get Version History

$
0
0

Hi all,

i'm trying to build a SharePoint page with a DFWP that Displays the complete VersionHistroy all items of a SharePoint List and the list entries.

since the GetVersionCollection isn't very helpful i try my luck with the GetListItemChanges. But i always get error msgs. by the Server.

This is my code i'm using:

$().SPServices({
	operation: "GetListItemChanges",
	async: false,
	listName: "ListName",
	viewFields: '<FieldRefName="Title"/>',
	since: "2012-01-01T00:00Z",
	contains: '<FieldRefName="Title"/><ValueType="Text">ED8767</Value>',
	completefunc: function (xData, Status) {}
});
I'm not sure what to put in the 'contains:' field. When i'm not using the 'contains' field th error msg. is:
<errorstringxmlns="http://schemas.microsoft.com/sharepoint/soap/">Cannot complete this action. Please try again.</errorstring><errorcodexmlns="http://schemas.microsoft.com/sharepoint/soap/">0x80004005</errorcode>
thats the error msg. with the 'contains' field:
<errorstringxmlns="http://schemas.microsoft.com/sharepoint/soap/">One or more field types are not installed properly. Go to the list settings page to delete these fields.</errorstring><errorcodexmlns="0x81020014</errorcode>">http://schemas.microsoft.com/sharepoint/soap/">0x81020014</errorcode>
any suggestions? best, Matthias

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>