none
Copy Calendar Recurrence Data from one list to another using CSOM SharePoint Online RRS feed

  • Question

  • I am trying to copy Calendar items from one list to another list in SharePoint online uisng CSOM. All the fields data copying as excepted but the Recurrence field data appearing as #RENDER FAILED as shown in image. CopyItems

    Below is my code:

    string strcolumnnames = "Title,Location,EventDate,EndDate,Description,fAllDayEvent,fRecurrence";
                    string[] columnarrary1 = strcolumnnames.Split(',').ToArray();
                    foreach (string stritem in columnarrary1)
                    {
                        try
                        {
                            itemToCreate[stritem] = SourcelistItem[stritem];
                        }
                        catch (Exception ex)
                        {
    
                            lbl_Error.Text += ex.Message.ToString();
                        }                       
                    }
                    itemToCreate.Update();
                    destinationContext.Load(itemToCreate);
                    destinationContext.ExecuteQuery();
    Do i need to include any other columns for copying the Recurrence data


    TARUN

    Wednesday, April 19, 2017 4:00 PM

Answers