.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

How to enable the SharePoint 2010/2013 Developer Dashboard

Posted By:Sagar Pardeshi       Posted Date: July 25, 2014    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

How to enable the SharePoint 2010/2013 Developer Dashboard


There are several ways to enable the developer dashboard in SharePoint 2010 and 2013. I always prefer the PowerShell method, but for the sake of completeness I will show several options here.

Notice that there are the following options for the Developer Dashboard:

·         On
SharePoint 2010: The Developer Dashboard will always be rendered at the bottom of each page
SharePoint 2013: The Developer Dashboard icon will always be displayed at the top right corner. It will not be appended to each page.

·         Off
SharePoint 2010 & 2013: The Developer Dashboard will not be available

·         OnDemand
SharePoint 2010: The Developer Dashboard will only be appended to a page after clicking on the icon in the ribbon
SharePoint 2013: This mode is not available in 2013 since it reflects the behavior of On now

 Enabling Developer Dashboard using PowerShell
$devdashboard =[Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings;
$devdashboard.DisplayLevel = 'OnDemand';
Write-Host ("Developer Dashboard Level: " + $contentService.DeveloperDashboardSettings.DisplayLevel)

Program code

Enabling Developer Dashboard using Object Model

SPWebService service = SPWebService.ContentService;


STSADM.exe -o setproperty -pn
developer-dashboard -pv OnDemand



The Developer Dashboard can be disabled by setting the display level value to "Off". As needed the display level can be set to "On", "Off" or "OnDemand" in the above code snippets. This operation requires a farm administrator permission. Make sure you have farm admin access before enabling/disabling developer dashboard.

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend