Monthly Archives: September 2009

SharePoint field options

When deploying your custom list definition you probably noticed there is a lot of things you can toggle to make your control look as you want them to look. Recently I came accross an issue where by default I would … Continue reading

Posted in MOSS, sharepoint | Tagged , , , | Comments Off

Verify if SharePoint user is in Group

Once in a while, I find really great things available in SharePoint object model. The other day I was working on custom SharePoint security component and discovered quite few usefull properties in SPWeb.Groups ->  SPGroup. In my case I had … Continue reading

Posted in MOSS, sharepoint | Tagged , , , | Comments Off

Adding links to quick launch navigation of SharePoint team site

Here is the scenario: you`re working on a SharePoint intranet based of SharePoint team site template; your client asks you to add extra links to SharePoint quick launch navigation menu that will point users to external locations and some views … Continue reading

Posted in MOSS, sharepoint | Tagged , , , | Comments Off

Creating email enabled document library programatically

public const string InboxLibrary = “Inbox”; public const string EmailAttachmentFolders = “vti_emailattachmentfolders”; public const string EmailOverwrite = “vti_emailoverwrite”; public const string EmailSaveOriginal = “vti_emailsaveoriginal”; public const string EmailSaveMeetings = “vti_emailsavemeetings”; public const string EmailUseSecurity = “vti_emailusesecurity”; public override void FeatureActivated(SPFeatureReceiverProperties … Continue reading

Posted in MOSS, sharepoint | Tagged , , | Comments Off

Creating SharePoint Views programmatically

Not too many people I know like to write CAML. Especially when it comes to list definitions and especially when you need to create a view in your list definition. An easier solution would be to create that view programatically … Continue reading

Posted in MOSS, sharepoint | Tagged , , | Comments Off

Changing out of the box SharePoint edit list item form – part 2

In my last article we talked about first step to creating custom edit/new/view form in SharePoint that will use out of the box CRUD and controls. Here, we`ll talk about actually creating the form and all of the controls that … Continue reading

Posted in MOSS, sharepoint | Tagged , , , | Comments Off

Change default URL of the search center through solution deployment

Ever wondered how to change the default URL of the search site (searchcenter) through ONET.XML when deploying new solution; wonder no more, define OSSSearchSearchCenterUrlSite in your ONET site features list of the desired site template like this: <Configuration ID=”0″ Name=”Home”> … Continue reading

Posted in MOSS, sharepoint | Tagged , | Comments Off

Changing out of the box SharePoint edit list item form – part 1

Here is the scenario: you have a list or several lists with many fields in them. You`re perfectly happy with the SharePoint types available out of the box for your items: single line of text, date etc; the only thing … Continue reading

Posted in sharepoint | Tagged , , , , | Comments Off

Extending SharePoint Advanced Search

If you’re SharePoint developer – 30% of your customers (if not more) are probably asking for features that in one way or another need extending SharePoint functionality. Recently, I was asked to add extra metadata mapped properties boxes on my … Continue reading

Posted in MOSS, sharepoint | Tagged , , | Comments Off

SharePoint publishing page scheduling

Here is the scenario: you have deployed your site with SimplePublisheing turned on so that your users can create pages and publish them right away without any sort of approval … and here one of the users announces to you … Continue reading

Posted in MOSS, sharepoint | Tagged , | Comments Off