Upon using one of the 40 application templates provided by Microsoft, you may be wondering where the site content types are, with which these templates are build. The site content types belong to the site content type group _Hidden: hence they are not visible on the site content types page.
This can be annoying in following scenarios:
To move the site content types included in the 40 application templates out of the _Hidden site content type group, follow these steps:echo off
@set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH%
@if "%1"=="" (goto invalidParameters)
stsadm -o deactivatefeature -filename "tsatypes\feature.xml" -url %1
stsadm -o activatefeature -filename "tsatypes\feature.xml" -url %1
iisreset
@goto endOfBatch
:invalidParameters@echo Please call with the correct parameters.
:endOfBatch
@echo The correct syntax of this command is:
@echo tsatypes [siteurl]
Go to Site Actions -> Site Settings -> Site content types: the Service Request Site Content Type is visible on the page in the group List Content Types. Hence it can be used as parent content type for new site content types.
In the Content Query Web Part, the Service Request Site Content Type can be chosen to filter on: choose List Content Types in the dropdown box Show items of this content type group and choose the Service Request Site Content Type in the dropdown box Show items of this content type.
Fixed my laptop not going into standby
-
A while ago my laptop wouldn’t properly go into standby mode anymore; the
screen turns black but the whole laptop would go into overdrive with only a
hard ...
3 years ago
Nice Blog. I have tried this and now see the content types but dont get any data? I am using the multiple project template and trying to get the project list.
Hi,
I think your problem is that you cannot choose the List Type Project Tracking - Projects List in the properties of your Content Query Web Part.
To be able to choose it, you should activate this feature at the parent site of the site on which you are trying to use it in your content query web part.
Execute following command:
stsadm -o activatefeature -filename projProjects\feature.xml -url <here url of your parent site>
Thanks so much!! This is exactly what was happening to me and your little snipit of code did the trick. Excellent post.
Post a Comment