Monthly Archives: February 2011

How to Enable the Developer Dashboard in SharePoint 2010

When activated, the Developer Dashboard appears at the bottom of a page and allows site owners and up to view the call stack, database query times, exception information in error messages, and loading events for web parts during page rendering. All of these allow you to pinpoint the bottleneck within your page and to quickly focus on the resolution. The Developer Dashboard can be enabled via STSADM or PowerShell. This is one of the rare cases where the command in STSADM is shorter than PowerShell. The recommended property value is OnDemand, which provides you the ability to toggle the dashboard on and off.

Posted in Administration, PowerShell | Tagged | 6 Comments

SharePoint 2010 Central Administration and Configuration Mapping

Are you a SharePoint 2010 Administrator or User?  SharePoint 2010 has plenty of new Features, and many that are the same as MOSS and WSS before it.  Along with these new features and rehashed features and utilities comes a new User Interface.  Once you figure out how to add a new Web App and Site Collection, you forget where you need to configure Content Databases or add Site Collection Administrators. 

Posted in Administration, Configuration, SharePoint 2010 | 1 Comment

Visual Studio Tips & Tricks #3

Did you know … how to use Visual Studio full screen mode?

Visual Studio has four window layouts:

  • Design view – the standard view when you open Visual Studio
Posted in .Net | Leave a comment

The Trouble with Rich Text Box Controls in Browser-Enabled InfoPath Forms

Over the years of developing InfoPath forms, I have become aware of many idiosyncrasies of browser-enabled forms. I usually find myself trying to find workarounds for designs that are simple in a client based InfoPath form but fall apart in browser-enabled forms. In this post, I present a workaround for using rich text boxes in browser-enabled InfoPath forms.

Posted in InfoPath | Tagged | 3 Comments

Publishing Data-Connected Visio Diagrams to Visio Services in SharePoint 2010

Visio Services in SharePoint Server 2010 is a service application that allows users to view Microsoft Visio Web Drawings (*.vdw) in a Web browser. This eliminates the need for Visio or Visio Viewer client applications installed on the user’s local computer. These Visio Web Drawings, along with Visio Services, can be connected to various data sources to enable refreshing and updating of data shapes. One of these data sources is a SharePoint list and will be the focus for this post. Let’s look into how we can utilize Visio Services to solve a business requirement.

Posted in Administration | Tagged , | 4 Comments

Building Hyperlinks To Open Documents in Edit Mode

Often when building an application that links to files stored in SharePoint you run into the problem of getting the file (doc, xls, ppt, etc…) to open in edit mode.  By default when you create a hyperlink to a document SharePoint will just get the file and stream it’s contents through the browser to your machine.  The file will open in the application associated with the file type/format on your pc.  In the case of the Office formats (Word, Excel, PowerPoint, etc…) the application will open the file in a read only mode.  To get the file to open in edit mode we have to make sure that we use the same Javascript to ActiveX calls that SharePoint uses to invoke the correct Office application.    There are various ways to do this but in a recent project we achieved the desired result by doing the following:

Posted in Development, Development, SharePoint 2007, SharePoint 2010 | 5 Comments