I no longer work at Microsoft, so please don't bother leaving a comment here or trying to contact me through my MSDN blog.
You can find my new blog at http://www.technologytoolbox.com/blog/jjameson. My new site also provides copies of all posts from my MSDN blog.
Yesterday I received the following question from someone regarding Microsoft Office SharePoint Server (MOSS) 2007 content type IDs:
I need to add another page type [that] inherits from the article page. How do you find the GUID of the article page to add it to the solution?
Here's the easiest way I know to find the content type ID:
Note that you can also retrieve the content type ID directly from the feature XML file (e.g. %ProgramFiles%\Common Files\microsoft shared\Web Server Extensions\12\TEMPLATE\FEATURES\PublishingResources\PublishingContentTypes.xml). However, I think the first approach is faster.
For more information on content type IDs in MOSS 2007, refer to the following MSDN article: