Friday, February 13, 2015

Change "SharePoint" Text in SharePoint 2013 Banner

Ever wanted to change the "SharePoint" text in Top-Left position of SharePoint 2013 banner?


Well, You can set the web application's SuiteBarBrandingElementHtml property with PowerShell/Object model code, to change the text "SharePoint" shown in top left banner of  SharePoint 2013 sites.

?
1
2
3
4
5
6
7
8
9
10
11
12
Add-PSSnapin Microsoft.SharePOint.PowerShell
#Get the Web Application
$webApp = Get-SPWebApplication "http://extranet.crescent.com/"
 
#Set the "SharePoint" text Property
$webApp.SuiteBarBrandingElementHtml = "Crescent Extranet"
 
# You can also replace it with Clickable Hyperlink - Images
# $webApp.SuiteBarBrandingElementHtml = '
http://extranet.crescent.com">http://extranet.crescent.com/SiteAssets/crescent_logo.png
"/>' 
 
#Update changes
$webApp.Update()

Here is the result in action:

BTW, Its actully a delegate control which can be replaced with an user control solution built in Visual Studio, In case you need a solution based approach. More info here: SuiteBarBrandingDelegate Delegate Control

Read more: http://www.sharepointdiary.com/2013/10/change-sharepoint-text-in-sharepoint-2013.html#ixzz3Re35vvbJ

No comments:

Post a Comment