Articles about European Sharepoint Hosting Service
SharePoint 2013 Hosting :: How to Configure existing URL located in the Top Navigation Bar?
In this tutorial, I will explain you how to to Configure existing URL located in the Top Navigation Bar as the referenced site URL has changed in SharePoint 2013.
The top link bar helps users of your site navigate to alternative sites within the site collection by displaying a row of tabs at the top of pages in the site. the top link bar is additionally referred to as global navigation, as a result of it can be the same across all of the web sites in a site collection. However, subsites can be configured to not show in the top link bar of the parent site. the options offered to you for configuring your top link bar will vary depending on whether or not the publishing features are enabled for your site collection.
I want to change this hyperlink to all sites inside the Web App: more than 1800 Site Collection. And I use the following code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
$Webs = Get-SPSite -WebApplication "http://SharePoint.Contoso.com" -limit ALL | Get-SPWeb -limit all Foreach($Web in $Webs) { $TN = $Web.Navigation.TopNavigationBar | Where-Object {$_.Title -eq "Landing Page & Wiki"} if ($TN.url -like "http://hostforlife.eu*") { write-host "Updating $($Web.url)" “Updating $($Web.url), $($TN.Url)” | out-file D:\temp\LandingPageUpdate.csv -append $TN.Url = "http://NewSharePoint.Contoso.com/Pages/LandingPageWikiDefault.aspx" $TN.update() } } #---------------------------------------------------------------------- |
Also, in parallel, I had to modify the template used to create the new sites into this Web App. Doing this will avoid having to run this script periodically to correct the changes.
SharePoint 2013 Hosting Recommendation
HostForLIFE.eu’s SharePoint 2013 Hosting solution offers a comprehensive feature set that is easy-to-use for new users, yet powerful enough for the most demanding web developer expert. Hosted SharePoint Foundation 2013 is the premiere web-based collaboration and productivity enhancement tool on the market today. With SharePoint 2013 Foundation, you can quickly access and manage documents and information anytime, anywhere though a Web browser in a secure and user friendly way. SharePoint hosting services start at only at €9.99/mo, allowing you to take advantage of the robust feature set for a small business price. HostForLIFE.eu offers a variety of hosted SharePoint Foundation 2013 plans as well as dedicated SharePoint 2013 Foundation options
Print article | This entry was posted by Peter on May 31, 2018 at 5:26 am, and is filed under European SharePoint 2013 Hosting. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |