How to Check if SPGroup Exists

The SharePoint API lacks methods to check for the security group existence. Here is utilities that do the job:         public static bool GroupExists(SPGroupCollection groups, string name)         {             if (string.IsNullOrEmpty(name) ||                 (name.Length > 255) ||                 (groups == null) ||                 (groups.Count == 0))                 return false;             else                 return (groups.GetCollection(new…

8

How to be in sync with Lookup when it changes

One of the biggest puzles of inconsistency is keeping a page that using Lookup column uptodate to all the changes that happened to underlying list. Image you have a web page in a Documents library. That page has a column say Type which is a lookup to a list Types below. ID Type 1 Document…

1

Faceted Search 3.0 – implementation of Search Suggestions

Background MOSS Faceted Search provides search refinement to the SharePoint search.  In September 2007 I’ve published 1.0 release as an open source on CodePlex. Since then the solution was successfully implemented by small businesses and Fortune 100 corporations in the US and by many companies around the globe. The latest release of the Faceted Search…

2

Making Rich TextBoxes work in web enabled InfoPath forms

Technorati Tags: InfoPath 2007,rich text box,web enabled forms,InfoPath SharePoint,InfoPath WCF Introduction The rich-text boxes provide InfoPath forms with functionality that sometimes is crucial to the end users. However, there is not much information on the web with the tips on implementation. In this post I will skip reference to the RTB performance, which is known…

2

Usage Analysis Processing logs

Here is a simple utility I wrote to process the MOSS usage logs (when turned on at Central Administration >> Operations >> Usage Analysis Processing ). Sometimes it’s useful to have alternate source for the user activity, than the usage reports offered in MOSS OOB through the Site Settings. I have slightly modified the Parser class…

3

Connected Lookup Field

  Introduction The attached code demonstrates the extended lookup field. Such field can be used to display any hierarchical structures, such as org charts, city-stat-country chains etc. The biggest challenge and advantage of implemented design was to build a Connected Lookup Field as a listener to other Connected Lookup Fields. In contrast with multi-value column,…

83