Tag Archives: C#

Add SPFieldChoice items in the list

One of the things we`re doing at my company with some many SharePoint projects over years is seal custom functionality as Framework Features and deploy them in a separate WSP. When a new project comes on we`re just calling various … Continue reading

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

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

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

Resolving NotFound when sending file to record center using officialfile.asmx web service

Soooo, recently I encountered the following situation. I am trying to programatically send a file to a record center and when my code evecutes SendFile method – I get an output variable back that is to tell me wthether the … Continue reading

Posted in .NET, MOSS, sharepoint, web services | Tagged , , , , , | Comments Off

How to Perform Calls to Webservice behind SSL

When a web service is behind SSL and you try calling methods of such webservice – you will get an exception saying that certificate was not accepted - this is due to the fact that the code doesn’t know what to … Continue reading

Posted in .NET, web services | Tagged , , , , | Comments Off