SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When calling GetListItemChangesSinceToken, and processing deletions, the data returned looks like this;

<Changes LastChangeToken="1;3;2e5fae54-20c4-4a9f-8e40-ae11784ee547;634873557043070000;106627" xmlns="">
    <Id ChangeType="Delete" UniqueId="{BAD6C7BF-D874-4213-8DEA-6414846A8DA8}">55</Id>

For my application, I need to know whether this was a folder or a file. The info above is obviously not enough to go off, so I'm wondering is there any way to coerce SharePoint into returning this data?

I've tried using ViewFields as follows;

viewFields.InnerXml = "<FieldRef Name='FSObjType' /><FieldRef Name='ID' />";

But it still only returns the same XML as before.

Is there any other way to get this info from SharePoint?

share|improve this question
McAtackney, see if Using Change Log is of some help! – Arsalan Adam Khatri Nov 1 '12 at 9:36
Hi @ArsalanAdamKhatri, I'm constrained to using the web services unfortunately, but thanks for the link. – C.McAtackney Nov 1 '12 at 9:53
up vote 1 down vote accepted

The information you seek (object type) is not kept in the ChangesLog database, so once the item itself is removed from the tables I doubt there is a way to obtain it.

In the ChangesDB you would have the Item's name and ID, that's about it IIRC. See Retrieving events from SharePoint’s ChangeLog

share|improve this answer
Thanks @Louis - that's a shame. I'll have to adapt my application to account for this. Thanks for the info. – C.McAtackney Nov 1 '12 at 11:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.