Copy Calendar Event from one list to another (Same site)

Jan 7, 2009 at 9:44 PM
Hello, I have two calendar lists, users create a new event on the first list, after approval, the event is copied to another list. I'm able to copy the item using the following code:
SPListItem newEvent = DestinationCalendar.Items.Add();
newEvent["Title"] = WorkflowProperties.Item["Title"];
newEvent["Location"] = WorkflowProperties.Item["Location"];
newEvent["Start Time"] = WorkflowProperties.Item["Start Time"];
newEvent["End Time"] = WorkflowProperties.Item["End Time"];
newEvent["Description"] = WorkflowProperties.Item["Description"];
newEvent["All Day Event"] = WorkflowProperties.Item["All Day Event"];
newEvent["Recurrence"] = WorkflowProperties.Item["Recurrence"];
newEvent["Workspace"] = WorkflowProperties.Item["Workspace"];
The problem is that if I create an item with Recurrence, the copy wont display the recurrence properly. Is there another way to do this?

Jan 9, 2009 at 11:58 PM
This is the Discussions forum for the CodePlex website. You will have better luck in the Discussions page for the project you are using.