从当前站点结构进行托管导航
问题描述:
这可能是愚蠢的问题,但是是否可以从当前站点结构(使用powershell ect)创建托管导航结构?
this may be stupid question, but is it possible to create managed navigation structure from current site structure (with powershell ect)?
网站是从sp2010迁移而来的,导航是较早的结构.
Site is migrated from sp2010 and navigation was earlier structural.
感谢您的帮助,安蒂
Antti Astikainen
Antti Astikainen
答
此处是示例代码供您参考,您可以根据需要更新逻辑
Add-PSSnapin Microsoft.SharePoint.Powershell
# Change these variables based on environment ****
centralAdminURL ="http://sp:5000"
centralAdminURL = "http://sp:5000"
siteCollectionURL ="http ://sp:12001"
siteCollectionURL = "http://sp:12001"