篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了powershell 在SDL Web 8上更改拓扑管理器映射相关的知识,希望对你有一定的参考价值。
# A the publication id in a TtmMapping cannot be changed. The API does not allow changing the publication id since
# changing it would break the publish status in the Content Manager.
# The old mapping s
# 1. First unpublish everything from the publication holding the old mapping. Or decommission the publishing target if
# the Content Broker changed and the content cannot be unpublished.
# 2. Lookup the TtmMapping Id, PublicationId WebApplicationId and RelativeUrl (optional) of the old TtmMapping
Get-TtmMapping
# 3. Remove the old mapping
Remove-TtmMapping -Id Mapping6
# 4. Add a the new mapping
Add-TtmMapping -PublicationId 'tcm:0-5-1' -WebApplicationId 'Website1_RootWebApp' -RelativeUrl '/en'
以上是关于powershell 在SDL Web 8上更改拓扑管理器映射的主要内容,如果未能解决你的问题,请参考以下文章