0

We have a custom webpart with a dropdown menu which contains some content types. We have changed some of the types but now I cannot change or delete the old content types. Its in use because before some documents have been created base don those contens. I cannot also delete those documents. Just want to delete or hide the content types. Is it possible?

5
  • Switch content type on all the documents that use the content type that you would like to remove. As soon as nothing uses the content type, you should be able to delete it. – Christoffer Apr 15 '16 at 9:22
  • Try from SharePoint Designer... Is there any error message getting logged in Event viewer?? – Ankit Kumar Apr 15 '16 at 9:31
  • @Christoffer its about 100 documents! not that easy and fast – Adi Apr 15 '16 at 10:32
  • 1
    If you are okay with losing the values for created, created by, modified and modified by, you should be able to open the library in the file explorer, copy all the contents to a temporary folder on your local desktop, delete the content type, and set a new default content type and then just drag and drop copy them back using file explorer once more. – Christoffer Apr 15 '16 at 10:53
  • @AnkitKumar is not possible also 'Could not save changes'. I can't even change the name – Adi Apr 15 '16 at 10:55
0

As @Christoffer stated in comment, open document library with explorer which option is available in ribbon. Copy all documents in folder in local drive. Delete documents from document library. Delete content type and again copy all documents in document library with explorer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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