loading table of contents...

4.3.4. Deleting Content Types

[Caution]Caution

Before you delete content types, make sure that the data is no longer needed.

Deletion of content types is best done with a mixture of server utilities and SQL commands. Proceed as follows:

  1. Start a query from the Site Manager to select all content items of the content type to delete.

  2. Mark all these content items for deletion.

  3. Publish all the content items.

  4. Use the cleanrecyclebin utility to remove all the content items from the recycle bin.

  5. Stop the Content Management Server and the Live Servers.

  6. Remove the content types to delete from the content types definition files of all Content Servers.

  7. Verify that the table which represents the content type is empty.

  8. Drop the table which represents the content type from the databases.

  9. Delete all rules that are attached to the document type by using the Site Manager or by settling the following SQL statement:

    DELETE FROM CmRules WHERE doctype = '<docTypeName>';

    If the rules are deleted by using SQL, all servers and clients need to be restarted, as the document type is being cached.

  10. Start the Content Servers again.