comments Programatically create a sharepoint calendar entry

added by ca8msm
6/3/2010 5:53:01 AM

2 Kicks, 194 Views

We recently had a requirement to programatically create an entry in an existing Sharepoint calendar, so here is an example of how we went about doing this. I'll be using Visual Studio 2008 for this, but the process will be similar for any other versions you are using. First of all, you will need to add a reference to one of the Sharepoint web references, so right-click your project and select Add Web Reference. You'll then be presented with a screen that asks you for a URL for that web service, so go ahead and write it in the following format: