-- find all unused docTypes
-- these results may contain docTypes that are masters of used ones, so need to exclude these too....
SELECT A.nodeId as 'DocTypeId',
B.text AS 'Name',
A.alias AS 'Alias'
FROM cmsContentType A
LEFT JOIN umbracoNode B ON A.nodeId = B.id
WHERE A.nodeId NOT IN (SELECT contentType FROM cmsContent)
Creating a list of unused doc types
Hi All,
I am nearing the end of a long Umbraco project. Over the course of the project, the back office has become a little cluttered with document types.
Does anyone know of any packages (seen Census, but no v7 support) or sql queries that would provide this information.
Thanks, James.
Hi James,
Here's some SQL to get you started:
HTH, Hendy
Hi Hendy,
That is amazing. Just what I was after.
Thank you.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.