Scenario/Problem: You need to set the metadata service connection options.
Solution: Use the Set-SPMetadataServiceApplicationProxy
cmdlet with the option switch parameters.
The metadata service connection settings are configured at the proxy level. Modifying the properties of the metadata service proxy allows for four settings, as in Figure 17.1.
Tip
To get to these properties, from Central Administration, click on the Manage service applications link under Application Management. Locate the Managed Metadata Service entry and highlight the connection (the indented instance). Click on the Properties button from the top ribbon bar.
These four options are synonymous with the following switch parameters of the Set-SPMetadataServiceApplicationProxy
cmdlet, respectively:
• DefaultKeywordTaxonomy
• DefaultSiteCollectionTaxonomy
• ContentTypeSyndicationEnabled
• ContentTypePushdownEnabled
Use these switch parameters with $true
or $false
settings (no setting assumes true
), as shown in Listing 17.8.
Set-SPMetadataServiceApplicationProxy -Identity "Managed Metadata
Service" -DefaultKeywordTaxonomy -DefaultSiteCollectionTaxonomy
-ContentTypeSyndicationEnabled:$false
-ContentTypePushdownEnabled:$false
18.222.125.171