AnsweredAssumed Answered

Can't delete files or folders in a space due to custom type

Question asked by l33m4n on Mar 22, 2012
Latest reply on Jun 13, 2013 by alexiusnor

I have been playing around with custom content types and have finally got them working using the extension folder method (as opposed to dynamically using the data dictionary).

Now that the type is working I want to clear out the document library and start afresh. The problem is, I can no longer list the files in the folder in the document library in Share (even though I can see them if I select all documents) and I am unable to delete the folder or files in it within Explorer. The error says :-

Please correct the errors below then click OK.
    Unable to delete Space due to system error: The property value is not compatible with the type defined for the property: etc….

I have tried deleting the Site and that doesn't work either.

I'm pretty sure this is because the type that is referenced against these files no longer exists in the form that existed when the files were created.

How can I just wipe these out? Also, going forward, if I'm using custom types and I want to change / remove properties etc. how do I avoid breaking existing content?