Easily Making the Data Form Web Part reusable

There are plenty of examples out there of the many capabilities of the so called “Swiss Army” Web Part, the Data Form Web Part.  Although a lot of developers know about the capabilities, many of them dismiss this Web Part as a one-off, not a versatile re-useable Web Part.  I ran into such a situation…

11

Getting the Current User Name or ID in SharePoint using SharePoint Designer (no code)

A colleague sparked my interest in this today by asking me if getting the current user ID was possible without writing code.  This would be a very trivial task by creating a custom web part but with that comes deployment, maintenance, support, etc.  He had a simple requirement to pass the UserID in the query…

35

FileNotFoundException: The site with the id {GUID} could not be found.

This was an interesting problem that I ran into today that really stumped me for a while.  The scenario was this, we had a flash file (swf) sitting in a document library.  This flash file was being served up on the home page of the site.  All of a sudden, flash file disappears.  I took…

16

Using XSLT in your SharePoint web part

I’ve been doing a lot of content management work with SharePoint lately, which means a lot of the same functionality but always a different look and feel.  XSLT is one of the main pillars of SharePoint development, and if you haven’t been using it or haven’t been using it extensively than you are doing yourself…

7

SharePoint 2007 Personalization Framework

I find that nearly all my customers want some level of personalization and targeting in their portals and web sites.  It seems the world today is filled with so much information one of our biggest problems is information overload.  The audiences feature in SharePoint was created specifically to allow information to be targeted to only…

4

Creating Lists and updating the default view programatically in SharePoint 2007

Recently a question came across a distribution list that I am a member of about updating the default view through code in SharePoint 2007.  Whenever I answer a question like this I try to remember it and blog about it.  Hopefully the next time someone is looking for the answer they will search and find…

4

Add SharePoint lookup column declaratively through CAML XML

UPDATE:  In the comments I’ve seen some people saying that this doesn’t work for them.  One thing that I discovered recently is that, in order for this to work, the URL specified in your schema.xml file MUST MATCH the List attribute on all your Field references in field.xml and schema.xml.  If these don’t match, it…

33

Turning off workflow and content approval for Document and Image libraries in Sharepoint 2007

I often get the question of how to turn off content approval for a publishing portal w/workflow.  Most of the time this request comes because an administrator or content editor is working on the portal and it has not yet been released to production.  During this process there are many pages and images that need…

1