Archive for the “Development and Customization” Category

Finding the Balance Between Tailoring and Thinking Inside the Box

September 14 2010 2 comments

This article describes why every tailoring decision is a choice involving price tag, risk, and usability.

SharePoint offers an astonishing set of functionality and features. We’re all familiar with the capabilities regarding to for example RSS viewing, calendars, surveys, discussion boards, and content management. Personally I find the out of the box set quite rich and able to cater the most…

Read more »

Comparing DateTimes in a LINQ to SharePoint Query

September 10 2010 23 comments

Last time I blogged about LINQ to SharePoint (available for SharePoint 2010), and especially about the fact that the underlying CAML generation matters, even though it is hidden by the developer. Here is another issue, or a bug, that I came across.

Consider the following simple situation: you want to fetch and display those calendar events that start…

Read more »

LINQ to SharePoint Performance Pitfalls

September 8 2010 10 comments

SharePoint 2010 introduced LINQ to SharePoint which enables the programmer an easy access to SharePoint lists and content types using LINQ.

While LINQ to SharePoint greatly simplifies the code and frees the programmer from writing CAML queries, it can easily result in poor code in terms of performance. The main problem is, IMHO, that the full power of…

Read more »

Automatically Enable Dialog Framework for Hyperlinks

September 6 2010 4 comments

With the inclusion of the new dialog framework in Sharepoint 2010 it is quite easy to create stylish dialog windows that comply to the overall look and feel of your site. As Jomit Vaghela explains in his blog, all you need to do is put the parameter IsDlg=1 in your url and use the SP.UI.ModalDialog.showModalDialog method with…

Read more »

Custom Caching Done Fluently

September 3 2010 3 comments

SharePoint includes many out-of-the-box cache mechanisms that can be configured on site and site collection levels. It is not uncommon, however, that you want to make some custom caching in code. Often you simply need more fine-grained control over what is cached and exactly what parameters define the cache key. One scenario where cache profiles are insufficient is…

Read more »

Extending CreatePublishingPageDialog Class with a Modified File Already Exists Validation Logic

August 23 2010 19 comments

There a few nasty problem in SharePoint 2010′s default create publishing page dialog. One of the problems is that you cannot specify a file name or that SharePoint doesn’t automatically create a new filename if one with the same title already exists. Juha talked about this problem earlier, and he asked me to define my approach to create…

Read more »
Page 3 of 612345...Last »