Monthly Archives: October 2009
Get Description out of Enumeration
Suppose you have an enum defined like this: public enum CorrespondenceStateType { [Description("Log Correspondence")] LogCorrespondence, [Description("Recommend Action")] RecommendAction, [Description("Assign Request")] AssignRequest, public enum MyEnum { [Description("Value 1")] MyValue1, [Description("Value 2")] MyValue2 } … you get the point. In this case … Continue reading
Adding SharePoint managed properties & mapping to crawled properties
In my last article, I showed how to take advantage of Faceted Search from codeplex components and boost up your search capabilities. Here is the necessary configuration steps you will need to take to make your faceted search work and … Continue reading
Programatically associate SharePoint Managed and Crawled search properties
Here is the scenario: you created few custom content types that distinct your business data from everything else in sharepoint. Now, you want to let your users search that data using out of the box sharepoint search. Chances are – … Continue reading
Programatically set SharePoint Crawl Schedule
Ever needed to set SharePoint Crawl schedule programatically through a feature or service application .. here is how. You will need to use the following libraries: using Microsoft.SharePoint; using Microsoft.Office.Server.Search.Administration; using Microsoft.SharePoint; using Microsoft.Office.Server.Search.Administration; Here is the routing that will … Continue reading
Adding and wiring new buttons to ItemEdit form
Few posts ago I was talking about modifying edit/new/view form; those were articles #1 and #2. We mainly talked about modifying controls and fields on the form, but what if you need to execute a custom logic on the form. … Continue reading