You can use U2U Caml Builder on the server and run a CAML query on the 
SharePoint List. This will allow you to do a query on which items in that list 
are the Content Type you wish to delete.

Download link on the SharePointDevWiki.com Tools page:
http://www.sharepointdevwiki.com/display/public/SharePoint+Development+Tools


Jeremy Thake
Readify | Senior Consultant
M: +61 400 767 022 | E: 
[email protected]<mailto:[email protected]> | W: 
www.readify.net<http://www.readify.net/>

From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone
Sent: Monday, 6 July 2009 9:16 AM
To: [email protected]
Subject: RE: Can't delete old content type [SEC=UNCLASSIFIED]

Yes, I've gone through every directory and viewed by content type. Nothing 
shows up.

There are hundreds of files in there.

I even went so far as to add Content Type as a mapped and searchable column and 
it's clean.

Regards,

Paul
Online Developer, ICT
CEO Sydney

From: [email protected] [mailto:[email protected]] On Behalf Of Nigel Hertz
Sent: Monday, 6 July 2009 9:44 AM
To: [email protected]
Subject: RE: Can't delete old content type [SEC=UNCLASSIFIED]

Try opening it in 'explorer view' to see if there's any files in there.

From: [email protected] [mailto:[email protected]] On Behalf Of Chris Milne
Sent: Monday, 6 July 2009 9:42 AM
To: [email protected]
Subject: RE: Can't delete old content type [SEC=UNCLASSIFIED]

Morning Paul,

If you can't even remove the CT from the doclib, yeah it must be being used in 
there somewhere.  Just a basic suggestion if you haven't tried already...

-          Is your view displaying all items (not filtering anything out?)

-          Turned on the CT as a list column?  Will let you quickly spot any 
used instances.
FWIW.. HTH


Kind regards,

Chris Milne


From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone
Sent: Monday, 6 July 2009 9:29 AM
To: [email protected]
Subject: RE: Can't delete old content type [SEC=UNCLASSIFIED]

Hi Caroline,

I'm only trying to delete it from a particular document library at this stage, 
not at the site collection level.

I successfully delete it from another document library but it looks like there 
must be items I can't see in this one. :\

Anyone got a programmatic quick fix that'll take two params - old and new 
content type - and update all items matching? :)

Regards,

Paul
Online Developer, ICT
CEO Sydney

From: [email protected] [mailto:[email protected]] On Behalf Of Specker, 
Caroline
Sent: Monday, 6 July 2009 9:26 AM
To: [email protected]
Subject: RE: Can't delete old content type [SEC=UNCLASSIFIED]

You will need to check every list in your site collection to make sure they are 
not using the content type.

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Noone
Sent: Monday, 6 July 2009 9:03 AM
To: [email protected]
Subject: Can't delete old content type
Hi guys,

I'm trying to delete an old content type from a doc library but am being told 
it's in use.

I've been right through the library and can't find any items that are using it. 
Is it possible that even as site collection admin I wouldn't see items that 
have been uploaded but not yet checked in??

Regards,

Paul
Online Developer, ICT
CEO Sydney

________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

*************************************************************************

The information contained in this e-mail, and any attachments to it,

is intended for the use of the addressee and is confidential. If you

are not the intended recipient you must not use, disclose, read,

forward, copy or retain any of the information. If you received this

e-mail in error, please delete it and notify the sender by return

e-mail or telephone.

The Commonwealth does not warrant that any attachments are free

from viruses or any other defects. You assume all liability for any

loss, damage or other consequences which may arise from opening

or using the attachments.

The security of emails transmitted in an unencrypted environment

cannot be guaranteed. By forwarding or replying to this email, you

acknowledge and accept these risks.

*************************************************************************

________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Stockland Notice: If this communication has been sent to you by mistake, please 
delete and notify us.  If it has been sent to you by mistake, legal privilege 
is not waived or lost and you are not entitled to use it in any way. Stockland 
and its subsidiaries reserve the right to monitor e-mail communication through 
its networks.
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
________________________________
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists
--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to