Quantcast
Channel: SharePoint Diary
Viewing all articles
Browse latest Browse all 1058

Change "SharePoint" Text in SharePoint 2013 Banner

$
0
0
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.

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 = '<div class="ms-core-brandingText"><a href="http://extranet.crescent.com"><img src="http://extranet.crescent.com/SiteAssets/crescent_logo.png"/></a></div>'

#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

Viewing all articles
Browse latest Browse all 1058

Trending Articles