Deploy Custom List Forms in Sharepoint - Part I

I did several SharePoint customizations with the focus on making them deployable. Although SharePoint 2007 is way better than previous versions, this can still be a big challenge, as there are a lot of hard-wired behaviors you have to work around.

 

This also applies to List forms. When using SharePoint Designer, customizing these forms is no problem. But when deploying them together with a custom list, the fun starts.

 

The problem is that SharePoint always needs a List Web Part in the page. If this Web Part is not included SharePoint will add it automatically. In my pages I also needed to use other means to display data from the list, so I had to replace the standard forms with custom forms.

 

When using SharePoint Designer you are able to manually remove this standard Web Part and all is fine from there on.

 

The only way around this problem is to remove the List Web Part when the custom form is displayed – this is done via some code behind. In short, I created a class that will act as my page template and all my custom pages will derive from it.

 

In the next part I will show in detail how this is done. In the end we will have a deployable solution that contains a custom list using custom forms.

 

Here some interesting links for forms customization:

Creating Custom List Forms for Creating, Editing, or Displaying a List Item

Customize the "NewForm.aspx" page for a SharePoint List

 

Deploy Custom List Forms in Sharepoint - Part II


Published: Nov-29-08 | 1 Comment | 0 Links to this post

The FC founders go all the way!

A year ago I would have called anyone crazy who would have told me that I would run a marathon in 2008.
Marathon Man
 
I had started to jog to get back in shape when my co-founder Jennifer signed us up for the Berlin marathon. Of course she knew that I am not the kind of guy to chicken out, so I had to step up my training and find the time in between running a start-up company and being a father and husband to go for long distance runs multiple times a week over the coming 7 months.
 
At the end of September we just finally did it. It was awesome. I was amazed that it wasn't the pain everyone had predicted it would be. Even "the wall" I was supposed to hit at the 30km mark didn't happen. It was just a great sunny day out that I enjoyed, thanks to all the proper preparation.
 
I just recognized how much that marathon has in common with my work: Building solutions for customers can sometimes be quite lengthy too. And being prepared is as important as is the capability to endure "the extra mile" when a project doesn't lift off right away. It is all about being able to follow through, especially when there is no shortcuts. And the bonus is the same too: there is no better feeling than when you go all the way, even when it's 42.195km.

Published: Nov-13-08 | 0 Comments | 0 Links to this post