Search This Blog

Tuesday, November 26, 2013

Enable Developer Dashboard in SharePoint 2013

By default developer dash board will not be enabled in SharePoint 2013. We can use PowerShell commands to enable or disable developer dashboard.

To enable the developer dashboard we have to run following commands in SharePoint Management Shell.
$contentService = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)
$dashBoardSetting = $contentService.DeveloperDashboardSettings
$dashBoardSetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::
On
$dashBoardSetting.Update()
In the above commands we are getting Content service from SharePoint administration service. Get the app service from content service developer dashboard settings and Make developer dash board display settings "ON" by updating the commands.
After enabling the developer settings we can see an icon, on top right side of the page as shown the image below.

By clicking on the image we can see new tab for developer dashboard as shown in the image below.
My making "Off" we can disable developer dashboard as shown the commands below.

$contentService = ([Microsoft.SharePoint.Administration.SPWebService]::ContentService)
$dashBoardSetting = $contentService.DeveloperDashboardSettings
$dashBoardSetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::
Off
$dashBoardSetting.Update()  

No comments:

Post a Comment