“Codeless” SharePoint Enhancements

I’ve always been a lazy programmer and if you can believe it, I see this as a good thing.  I never want to write anything more than once.  (I’ve written an assembler-based keyboard handler for DOS.  Do I need to do it again?  As much fun as it was: no.)  I also believe that the simplest way to solve a problem can often be the most elegant one.

With SharePoint, there are basically three “tiers” where you can do development: in the UI, in SharePoint Designer, and in Visual Studio.  To me, you should think of the tiers in that order of preference, which goes from simplest to more complex.  I ran across several posts today that I think back me up.

Thanks to David Whittle in Japan for the pointer to the Path to SharePoint blog.  In it, Christophe shows us how to do some pretty amazing things by generating HTML in calculated columns, among other things. I might turn to SharePoint Designer for some of the things that he pulls off, but his approaches work just fine, depending on your environment.  For instance, your governance rules may preclude you from using some of his techniques (You do have a well-documented governance model, right?), but that doesn’t make them bad approaches, just not the right approaches for you.

Christophe had a pointer to Joel Oleson’s blog where Joel talks about Webpart and Widget No Assembly Required Simplicity.  Joel’s premise is that you can do a heck of a lot by using script-based widgets in SharePoint without actually writing *any* code.  (Sure, you may need to configure a widget’s script through someone’s Web page UI and drop it into a CEWP, but that doesn’t count as writing code in my book.)

All in all some more strong arguments against needing a top notch .NET programmer to do very cool and useful things on top of the SharePoint platform.  In these days of mashups and instant apps, don’t rule out these same approaches from being highly useful in a serious business application, either.

Similar Posts

2 Comments

  1. Christophe:
     
    I’ve found that governance rules can vary as much as hair color.  Some organizations don’t want anyone "writing code", and that definition may extend to some of your techniques, too.  In general, though, I agree that you are taking things to the lowest level and therefore are unlikely to be in violation of governance rules.
     
    I would naturally turn to Designer to create calculated columns just for display as well as to manipulate that display.  It’s where I’ve learned to do this stuff, so it would probably be my first choice.  However, your techniques are going to be a part of my consideration going forward!
     
    M.
  2. Thanks for your comments Marc :-).
     
    About governance: I would think that governance rules would actually promote my techniques over programming methods (just as you say, with a three tier approach). Do you have an example of governance rule that would not allow them?
     
    Also, when would you use SharePoint Designer rather than the SharePoint UI, for a similar result?
     
    Christophe

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.