Skip to content

TechEd Online: SharePoint Patterns and Practices Guidance

Last week while at Tech Ed EMEA in Barcelona I got the opportunity to do a recording for Tech Ed Online. Ajoy Krishnamoorthy and I talked about the recent release of the SharePoint Guidance from the Patterns and Practices team. If you want to see the interview you can (WMV High, WMV Low, MP4, MP3)

I will say I find it more than slightly amusing that they were able to spell Ajoy’s last name correctly (and fit it on the screen) but they fat fingered my last name. (You’ll have to watch the video to see it.)  [Update: Wow they fixed that fast.  You’ve missed how they mistyped my last name at this point.]

TechEd EMEA 2008: Connecting Office Client, SharePoint, Search, and Workflow

Earlier today I presented on Connecting Office Client, SharePoint, Search, and Workflow. It’s one of my favorite talks because it shows an end-to-end solution from getting data from the end users through promoting the properties in SharePoint, making them searchable, and taking action via workflows. In the presentation I referred to a few tools and resources. They are:

Good luck on your next project to make life easier to get data in — and used in your organization.

SharePoint Governance and Pandora’s Box

Maybe it’s the fact that I’m over in Europe on the continent for the first time in my life. Maybe it’s the fact that I’m listening to German and thinking of all of the languages that I don’t know. However, somehow my thoughts drifted across the old Greek Mythological figure of Pandora. The short of the story is that Pandora opens a box containing all of the evils of the world — and hope. The story ends with Pandora having opened the box and realizing that once let loose there’s simply no way to get all of the evil back in the box.

I was recently emailed to ask how to convince an organization that they need some SharePoint Governance. The answer I gave was to look at the Governance articles I written (Many of them are linked from the Microsoft TechNet SharePoint Governance Resource Center) and know enough about them to ask the client how they’re going to deal with a particular topic. I walk clients through governance conversations all of the time. I walk them through first with those questions — and then I move on to providing best practices, cautions, and advice about how to develop the best possible system with the least possible cost. I tell most folks that governance isn’t rocket science, it’s just a matter of knowing what things you want to manage. In fact, one of the definitions of governance — and the one I like best — talks about managing risk. That’s pretty simple — we do work on governance to mitigate the risks that empowering the end users brings.

For the most part I encourage folks to work with as little governance as possible so that they don’t stifle the enthusiasm of the users for using the platform. That works well for most things and most people. Whether you have a guideline on what files can be uploaded or not probably doesn’t matter for most situations. However, there are a handful of things that if you fail to govern up front you’ll create nearly irreversible problems. Here’s an incomplete list of things that you want to have a handle on right away — and why:

  • Server Configuration Management — I’m an old server guy, I’ve managed servers for organizations. I know what happens when you begin to suspect a server. You replace it. The amount of troubleshooting and problem solving necessary to figure out what the problem is generally isn’t worth it. With simple services you can quickly recreate the services that the server offers up and move on — however, SharePoint isn’t that simple. You can’t just tell all the users that you’re going to demolish SharePoint and start over. Because of this I advise every client to maintain good (not tight or perfect) control of the servers so that they don’t have to worry about rebuilding their farm. By the way, most of the time this means that developers don’t have access and all code is deployed via a SharePoint Solution (WSP) file (See Using SharePoint Solutions to Deliver Server-Side Solutions)
  • Unsupported Things — There are a fairly small set of things that Microsoft doesn’t “support.” Direct access to the databases, changing data in the databases, modifying out of the box files (with a few very small exceptions). Once you’ve done these things it’s possible that you’ll never be able to recover. For instance, modifying the database. Once it’s modified you can’t really unmodify it. Overwriting out of the box files can be undone — with care. However, most of the time if you modified a system file you did it to solve a problem (in a specific way) that couldn’t be done without modifying the file. In this situation, getting back to a supported state may be difficult, or impossible to do while still solving the same problem for the business. This is a very difficult spot to be in.
  • Site Definitions — As the Microsoft Patterns and Practices SharePoint Guidance and a flurry of recent blog posts (Joel, Eric), and my article have indicated you may need to create site definitions — but they make it equally clear that you should only do them if you need them — and they should be done in a specific way. Here’s the problem with site definitions. You can’t change them. I mean this from the perspective of changing from one site definition to another and also changing the functionality of the site definition once it’s deployed. Changing from one site definition to another isn’t supported because the core of the site is created during the site creation process and there is no way to go back and re-do that process. Also, once you’ve deployed a site definition and sites have been created, you’re not supposed to ever change that site definition. If you need to change the way that the site definition behaves, you’re supposed to feature staple to that site definition.

I’m sure that I’ll get several comments from folks who will tell me other areas of governance that really need to be in place up front to avoid long term problems. So what long term problem do you think you should have avoided by having better governance up front?

Installing SharePoint is a good thing — but if you’re not planning appropriately for the user interest — you can be opening Pandora’s box.

TechEd EMEA 2008: Quick Integration From SharePoint to Your Application

On Thursday (Nov 13, 2008), I’ll be presenting a session titled “Quick Integration from SharePoint to Your Application” at TechEd EMEA. I wanted to provide a post that would provide access to all of the resources I mention in that talk. So here are those resources:

  • Design Your Web Site to be Search Friendly — An older article on the keys to making sure that your web site can be searched by any search engine — including SharePoint.
  • Using SharePoint Search to Find Information in Your Enterprise– A web cast on how to use SharePoint Search to find information in your enterprise — including applications. This web cast was developed for SharePoint Portal Sever 2003 — but all of the concepts still apply today.
  • http://mssharepointdeveloper.com — A wealth of free resources for learning how to develop in SharePoint
  • SharePoint Guidance on MSDN — A set of guidelines for good development on SharePoint.
  • MOSS SSO Setup Step-by-Step — A step-by-step guide to how to setup SharePoint SSO

SharePoint and Locking up W3WP or STSADM

Recently I discovered a new an interesting way to lock up the W3WP process. I was trying to deploy a content type including a document template all in one feature. Because I was declaring fields (and a workflow too) I had to set the scope of the feature to Site. The problem is that files are supposed to be provisioned via <Module> tags — in a Web scoped feature. I didn’t think much about it until I realized that whenever I activated or deactivated the feature I’d lock up whatever process that was doing the work. So if I did it through the web W3WP would end up in an endless (or seemingly endless) loop. Similarly doing it from the command line caused STSADM to lock up.

So if you’re locking up the worker process (as evidenced by 50% or 100% sustained processor utilization) you may want to make sure you don’t have a <Module> tag in your Site scoped feature…

TechEd EMEA Presentations – Connecting Office/SharePoint, Quick Integration

Several months ago I agreed to do two sessions at TechEd EMEA in Barcelona, Spain. I’ve been so busy that I’ve forgotten to post about them. Here’s what I’ll be talking about (and where):

Code Title Date/Time Room
OFC205 Connecting Office Client, SharePoint Search and Workflow November 14 10:45 – 12:00 Room 114
SharePoint is a powerful platform for managing information. In this session you’ll see how you can leverage Quick Parts in Word to allow users to enter metadata without even knowing it. You’ll learn how to leverage those metadata properties by converting them into managed properties and making them available on the advanced search page. Finally, you’ll learn how to automate a process leveraging those same metadata properties in a SharePoint Visual Studio Workflow.
OFC204 Quick Integration from SharePoint to Your Application November 13 13:30 – 14:45 Room 117
Do you need a quick way to add search to your application? Do you want to add document management including version control and check in/out? In this session you will learn how you can use SharePoint to add more robust features to your application and how you can use SharePoint to provide a central framework around your existing individual applications.

After TechEd EMEA I’ll be spending a few days in Paris to visit a client, but I’ll have some free time if there’s anyone who lives in Paris who would like to connect.

Speaking at Wisconsin SharePoint Users Group (10/21)

Tomorrow I’ll be speaking at the Wisconsin SharePoint Users Group on “SharePoint for the Developer” — I’ve got tons of content about how to get started with developing for SharePoint, we’ll have some fun learning what SharePoint can do when you lift the cover and start writing code.

If you want to attend, the registration and location information are below. We’ll be starting at 4PM.

Location:

N19W24133 Riverwood Dr,

Waukesha, WI 53188
(262) 446-5200

Please Register for this Event at: http://www.clicktoattend.com/?id=131945

Event Code: 131945

The SharePoint Shepherd’s Guide for End Users – Screen cast Edition

I mentioned a month ago that we were encoding videos for the Screen cast edition of The SharePoint Shepherd’s Guide for End Users. I’m happy to announce that we’re done! I finished the video work and encoding yesterday. I thought it might be fun to share some statistics with everyone:

Number of Tasks 116
Total Time of All Videos 4 hours, 31 minutes, 48 seconds
Average Video Length 2 minutes, 20 seconds
Total Uncompressed Storage Size 280 GB
Total Size High Quality Video 783 MB
Average High Quality Video File Size 6.75 MB
Total Size Low Quality Video* 595 MB
Average Low Quality Video Size 5.1 MB
Tool’s used (in order) TechSmith Camtasia, Sony Creative Software Vegas Pro 8, Microsoft Expression Encoder

* Low Quality video is as low as I would allow it to go – it’s still readable text even if there are some distracting artifacts.

Patterns and Practices SharePoint Guidance

Over the past few months I’ve been honored to have the opportunity to help the Microsoft Patterns and Practices team. Last Saturday (10/4/2008), I was asked to pickup another session at Indy TechFest because of a last minute cancellation. I chose the topic of reviewing the P&P team’s SharePoint Guidance. I’ve uploaded the deck I used in the session.

Basically, it walks through some of the key items that the P&P team have been working with to be able to provide guidance on how to develop with SharePoint. If you’ve not seen the progress they’ve made, go check out http://www.codeplex.com/spg.

Recent Posts

Public Speaking