Copy event data from a calendar list in SharePoint 2010

Source: Internet
Author: User

There is no copy item functionality in SharePoint,

There's a file that has a copy.

So we're going to copy the event data only with the program one one for the assignment.

Then how to assign value does not lose data?

The following procedure can be used for reference. There is no assignment for this field in the "Workspace" in this program. Because this is not required in my project calendar list.

oitem["title"] = p_item["title"];   
 oitem["Location"] = p_item["Location"];   
 oitem["File_x0020_type"] = p_item["File_x0020_type"];   
oitem["EventType"] = p_item["EventType"];   
 oitem["UID"] = p_item["UID"];   
 oitem["Recurrenceid"] = p_item["Recurrenceid"];   
 oitem["eventcanceled"] = p_item["eventcanceled"];   
 oitem["Duration"] = p_item["Duration"];   
 oitem["Recurrencedata"] = p_item["Recurrencedata"];   
 oitem["TimeZone"] = p_item["TimeZone"];   
 oitem["Xmltzone"] = p_item["Xmltzone"];   
 oitem["Masterseriesitemid"] = p_item["Masterseriesitemid"];   
 oitem["participants"] = p_item["participants"];   
 oitem["eventdate"] = p_item["Eventdate"];
oitem["EndDate"] = p_item["EndDate"];   
www.bianceng.cn oitem["Description"] = p_item["Description"];   
 oitem["falldayevent"] = p_item["Falldayevent"];   
 oitem["frecurrence"] = p_item["Frecurrence"];   
 oitem["Participantspicker"] = p_item["Participantspicker"];   
 oitem["Category"] = p_item["Category"]; oitem["FReebusy "] = p_item[" FreeBusy "];   
 oitem["overbook"] = p_item["Overbook"]; oitem["_moderationcomments"] = p_item["_moderationcomments"];

This should have some, to say that the event type of item is a complete copy.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.