Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Get the type of change for a library item

$
0
0

Hi,

I am using Client Object Model and I'm trying to get changes from a library with GetListItemChangesSinceToken web method (lists.asmx). Everything is OK with this nice feature, but I need to know more for an item found as changed:

- if has only some properties updated, no change to the document itself
OR
- the document itself was modified (with / without metadata, is doesn't matter anymore since we have to touch the binary).

From what I've seen, in the returned XML there are "ows_Modified" and "ows_Last_x0020_Modified", but both are updated while saving the document with a change, even if the file remains untouched (even listitem.File.TimeLastModified is affected). 

Also "ows_owshiddenversion" is incremented twice while uploading a file and then saving the item.

So, is there a way to know if a change means that the file itself was modified or only some field values of the item?

Thanks,
Catalin


Viewing all articles
Browse latest Browse all 11571

Trending Articles



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