When debugging sharepoint2010, the Content Management Department enters the management interface of a website set and cannot find the content type publishing link. So we have the following knowledge points.
- Not allSite templateAre set to defaultPublish content typesThis function is calledTaxonomyfeaturestaplerOfFeatureProvided. You canFeatureDirectory
C: \ Program Files \ common files \ microsoft shared \ Web Server Extensions \ 14 \ template \ featuresFind thisFeature.
- Blank site template Disabled by default Taxonomyfeaturestapler This Feature . If you open Taxonomyfeaturestapler Of Feature File ( Name Taxonomysitestostaple) You can find out what Site template This is enabled by default. Feature. We cannot find it there. Blank site template ID "STS #1", But you can see"STS #0"(Team site) and"STS #2"(Document work space), that is, when you use team site template or document work space template to create a website set, they will startTaxonomyfeaturestaplerThisFeature.
<? XML version = "1.0" encoding = "UTF-8" ?>
copyright (c) Microsoft Corporation. all rights reserved. -->
elements xmlns =" http://schemas.microsoft.com/sharepoint/ " >
< featuresitetemplateassociation id =" 73ef14b1-13a9-416b-a9b5-ececa2b0604c " templatename =" Global " />
<FeaturesitetemplateassociationID= "73ef14b1-13a9-416b-a9b5-ececa2b0604c"Templatename= "STS #0" />
<FeaturesitetemplateassociationID= "73ef14b1-13a9-416b-a9b5-ececa2b0604c"Templatename= "STS #2" />
< Featuresitetemplateassociation ID = "73ef14b1-13a9-416b-a9b5-ececa2b0604c" Templatename = "MPS #0" />
< Featuresitetemplateassociation ID = "73ef14b1-13a9-416b-a9b5-ececa2b0604c" Templatename = "MPS #1" />
< Featuresitetemplateassociation ID = "73ef14b1-13a9-416b-a9b5-ececa2b0604c" Templatename = "MPS #2" />
< Featuresitetemplateassociation ID = "73ef14b1-13a9-416b-a9b5-ececa2b0604c" Templatename = "MPS #3" />
< Featuresitetemplateassociation ID = "73ef14b1-13a9-416b-a9b5-ececa2b0604c" Templatename = "MPS #4" />
< Featuresitetemplateassociation ID = "73ef14b1-13a9-416b-a9b5-ececa2b0604c" Templatename = "Wiki #0" />
< Featuresitetemplateassociation ID = "73ef14b1-13a9-416b-a9b5-ececa2b0604c" Templatename = "Blog #0" />
< Featuresitetemplateassociation ID = "73ef14b1-13a9-416b-a9b5-ececa2b0604c" Templatename = "SGS #0" />
- We have two ways to deal with this problem.
1. Use the followingStsadmCommand to enable thisFeature.
Stsadm-O activatefeature-ID 73ef14b1-13a9-416b-a9b5-ececa2b0604c-URLHttp: // toplevelsiteurl
Back to website setTop SiteManagement interface, you can seeContent type publishing Link
2.Site templateFor exampleBlank site templateOf"STS #1″AddTaxonomyfeaturestaplerOfFeatureFile. In this way, use againBlank site templateWhen creating a new website, you can seeContent type publishing Link
< Featuresitetemplateassociation ID = "73ef14b1-13a9-416b-a9b5-ececa2b0604c" Templatename = "STS #1" />