The Suite Link Bar is what you see at the top of the page, just below the browser menu bar:
By default, it displays the simple "SharePoint" text. What you see displayed here is contained in the web application's SuiteBarBrandingElementHtml property. If you interrogate this property, you will see the following:
Procedure
By default, it displays the simple "SharePoint" text. What you see displayed here is contained in the web application's SuiteBarBrandingElementHtml property. If you interrogate this property, you will see the following:
You can modify this property at any time using PowerShell. You can even configure this as a convenient hyperlink. The next steps show you how.PS C:\Users\spAdmin> $wa = Get-SPWebApplication http://App1:5000 PS C:\Users\spAdmin> $wa.SuiteBarBrandingElementHtml <div class="ms-core-brandingText">SharePoint</div>
Procedure
- Run this script to just change the text:
$wa = Get-SPWebApplication http://App1:5000 $SuiteBarText="<div class='ms-core-brandingText'>Central Admin: Corporate Site <font color='red'><b>(Production)</b></font></div>" $wa.SuiteBarBrandingElementHtml=$SuiteBarText $wa.update()
- Run this script to change the text and configure it as a hyperlink:
$wa = Get-SPWebApplication http://App1:5000 $SuiteBarText="<div class='ms-core-brandingText'><a href='http://App1:5000'>Central Admin: Corporate Site</a> <font color='red'><b>(Production)</b></font></div>" $wa.SuiteBarBrandingElementHtml=$SuiteBarText $wa.update()
References
No comments:
Post a Comment