Friday, January 15, 2010

Calendar Overlay Web Part

My latest SharePoint calendar customization was inspired by the Outlook calendar overlay feature and the Google calendar. My goal was to create a similar user experience on a SharePoint web page.

The calendar overlay web part gives users an efficient and easy to read way to view items on separate SharePoint calendars simultaneously.


Dynamic Refresh

By leveraging the ASP.NET AJAX UpdatePanel built into the ASP.NET 3.5 framework I am able to dynamically show and hide calendar items without a page refresh or post back.

The calendar overlay web part color codes each calendar’s events so it is easy to tell which calendar an item belongs too. The calendar has also been customized to show all calendar entries automatically, removing the need for the Expand All and Collapse All buttons.

Print View

A print icon is also built into the calendar to let the users easily print the customized calendar. This allows the users to print just the calendar section of the page and just the items from the calendars that they have selected.

Item Details

You can view an item's details by clicking on the item, from here you can view or modify the item just as you would from the standard SharePoint calendar.

Using AJAX with SharePoint

In order for the calendar to refresh dynamically without posting back to the server, the .Net 3.5 Framework must be registered in SharePoint’s web.config. There are good instructions for modifying the web.config at the link below. Please remember to make a backup of the web.config file before you make any changes. Also, saving changes to the web.config will automatically reset IIS on the server.

Monday, January 4, 2010

The Value of Forums

In recent years I have come to value blogs and other social networking sites. It has been rewarding to meet people with similar professional interests. In addition to new and potential clients, I have built a healthy network of experts that I exchange ideas with often. It is exciting to wonder what the next decade will bring when you consider that social networking software was not even thought of a decade ago – or was it? It is true that Twitter, Facebook, Live, LinkedIn and others are still fairly recent phenomena, but I recall using forums prior to the turn of the millennium. In fact, some suggest that the earliest web forum software was W3 Interactive Talk (WIT), created in June 1994, but Google has USENET archives dating to May 1991.

Do people still use forums? Absolutely! I would suggest that they are more popular today than ever before. Blogs have their place. Personally, I subscribe to over eighty blogs in my RSS reader. I read my favorite bloggers and favorite product blogs to stay current, and I share my favorite articles using FriendFeed. Still, though, I am limited to a relatively small number of authors and their experiences. Enter web forums…

Many people think of forums as a last resort – if they cannot solve the problem themselves or through other conventional means, they may post a question on a technical forum. While that is not a bad strategy, I want to also make the case for forums as a preventative maintenance tool. Think of the event log on your servers. Many people do not look at their event logs until they have a problem they are trying to diagnose. If they had seen the warnings in the event viewer before the “disaster”, however, they may have prevented unnecessary downtime. That is why I visit the SharePoint Forums regularly – not because I am trying to solve a particular problem, but because I want to see what business or technical challenges that other people are facing. It may be that I or a client will eventually face the same challenge. The new forums provide some cutting edge social networking features, too. If I help someone solve a business or technical problem, then they can rate me, recommend me or follow me.

My favorite SharePoint forums are Microsoft’s Technet Forums and Developer Network Forums. They are essentially one and the same with only a few subtle differences. .NET developers who are fans of the popular forum will be pleased to know that there is now a forum. As you consider the case that I make for forums and other social networking software, do some introspection and consider how these same technologies could enhance knowledge sharing in your own organization. Watch for a future post about the new social networking features in SharePoint 2010. Happy New Year!