<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Copy Sharepoint list items from one site to another programmatically</title>
	<atom:link href="http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/</link>
	<description>It&#039;s all about SharePoint</description>
	<lastBuildDate>Thu, 09 Sep 2010 09:37:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Meenakshi Sundaram</title>
		<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/comment-page-1/#comment-535</link>
		<dc:creator>Meenakshi Sundaram</dc:creator>
		<pubDate>Tue, 17 Aug 2010 07:27:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.fivenumber.com/?p=541#comment-535</guid>
		<description>Hi Vijai &amp; Datta,
Thanks for the valuable replies. I tried using the SPD workflow and still struck up somewhere in it. That is i need to have only recent 60 days entries till date. rest everything i need to move it back to the backup list. So, when i look for an option to give as number of days. It is not there. Please Advice..</description>
		<content:encoded><![CDATA[<p>Hi Vijai &amp; Datta,<br />
Thanks for the valuable replies. I tried using the SPD workflow and still struck up somewhere in it. That is i need to have only recent 60 days entries till date. rest everything i need to move it back to the backup list. So, when i look for an option to give as number of days. It is not there. Please Advice..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G Vijai Kumar</title>
		<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/comment-page-1/#comment-529</link>
		<dc:creator>G Vijai Kumar</dc:creator>
		<pubDate>Wed, 11 Aug 2010 14:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.fivenumber.com/?p=541#comment-529</guid>
		<description>@ meenakshi Sundaram: Yes, Datta;s suggestion is perfect to use SPD workflow, please follow the link on how to copy the list items from site to another using SPD Workflow http://www.fivenumber.com/copy-item-from-one-list-to-another-using-sharepoint-designer-workflow/</description>
		<content:encoded><![CDATA[<p>@ meenakshi Sundaram: Yes, Datta;s suggestion is perfect to use SPD workflow, please follow the link on how to copy the list items from site to another using SPD Workflow <a href="http://www.fivenumber.com/copy-item-from-one-list-to-another-using-sharepoint-designer-workflow/" rel="nofollow">http://www.fivenumber.com/copy-item-from-one-list-to-another-using-sharepoint-designer-workflow/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Datta</title>
		<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/comment-page-1/#comment-528</link>
		<dc:creator>Datta</dc:creator>
		<pubDate>Wed, 11 Aug 2010 14:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.fivenumber.com/?p=541#comment-528</guid>
		<description>Instead of using event handler use SPD workflow. Which is easy to maintain.</description>
		<content:encoded><![CDATA[<p>Instead of using event handler use SPD workflow. Which is easy to maintain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meenakshi Sundaram</title>
		<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/comment-page-1/#comment-526</link>
		<dc:creator>Meenakshi Sundaram</dc:creator>
		<pubDate>Wed, 11 Aug 2010 14:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.fivenumber.com/?p=541#comment-526</guid>
		<description>Hi Vijai,
Thanks for the update. I have small doubt. Do you have any pages in you for writing an event handler and how to debug it. because it is becoming tedious. So request you give any references in the steps for writing an Event Handler.</description>
		<content:encoded><![CDATA[<p>Hi Vijai,<br />
Thanks for the update. I have small doubt. Do you have any pages in you for writing an event handler and how to debug it. because it is becoming tedious. So request you give any references in the steps for writing an Event Handler.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G Vijai Kumar</title>
		<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/comment-page-1/#comment-524</link>
		<dc:creator>G Vijai Kumar</dc:creator>
		<pubDate>Wed, 11 Aug 2010 14:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.fivenumber.com/?p=541#comment-524</guid>
		<description>@ Rebecca: Better to hook with a event handler for the list on Site A, whenever item is added you will be able to add the same item in list on Site B
Good Luck :-)</description>
		<content:encoded><![CDATA[<p>@ Rebecca: Better to hook with a event handler for the list on Site A, whenever item is added you will be able to add the same item in list on Site B<br />
Good Luck <img src='http://www.fivenumber.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G Vijai Kumar</title>
		<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/comment-page-1/#comment-519</link>
		<dc:creator>G Vijai Kumar</dc:creator>
		<pubDate>Wed, 11 Aug 2010 13:57:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.fivenumber.com/?p=541#comment-519</guid>
		<description>@ Meenakshi Sundaram: Thanks for looking into the post, please follow the post on how to copying attachment from one list to another http://www.sharepoint-tips.com/2008/11/how-to-copy-attachments-from-one-list.html</description>
		<content:encoded><![CDATA[<p>@ Meenakshi Sundaram: Thanks for looking into the post, please follow the post on how to copying attachment from one list to another <a href="http://www.sharepoint-tips.com/2008/11/how-to-copy-attachments-from-one-list.html" rel="nofollow">http://www.sharepoint-tips.com/2008/11/how-to-copy-attachments-from-one-list.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Meenakshi Sundaram</title>
		<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/comment-page-1/#comment-516</link>
		<dc:creator>Meenakshi Sundaram</dc:creator>
		<pubDate>Tue, 10 Aug 2010 08:47:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.fivenumber.com/?p=541#comment-516</guid>
		<description>Hi Vijai,
Thanks for the Great work. Your work gave me an idea of how to move list items. But this code will move all the contents present in the list to another list whith the same type. But how to move the attachements of each row to the destination list.?</description>
		<content:encoded><![CDATA[<p>Hi Vijai,<br />
Thanks for the Great work. Your work gave me an idea of how to move list items. But this code will move all the contents present in the list to another list whith the same type. But how to move the attachements of each row to the destination list.?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rebecca</title>
		<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/comment-page-1/#comment-506</link>
		<dc:creator>Rebecca</dc:creator>
		<pubDate>Thu, 01 Jul 2010 23:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.fivenumber.com/?p=541#comment-506</guid>
		<description>I have a list that I need to be used in different sites. For instance the list is on site A and then I have site B that needs to use the same list. If i do a copy list item like in this post is there a way to keep the list on Site B updated when list A gets updated.</description>
		<content:encoded><![CDATA[<p>I have a list that I need to be used in different sites. For instance the list is on site A and then I have site B that needs to use the same list. If i do a copy list item like in this post is there a way to keep the list on Site B updated when list A gets updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Datta</title>
		<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/comment-page-1/#comment-476</link>
		<dc:creator>Datta</dc:creator>
		<pubDate>Tue, 25 May 2010 07:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.fivenumber.com/?p=541#comment-476</guid>
		<description>Thanks for your reply. Item level persmission.  Suppose user has set permission as Reader to one documen &amp; Contributor for another document using out of box SP Manage Permsiion Menu. Then same Persimmision should assign to document/Item which transfer to other document list.  I wrote sample code snippest but It throws Error 4 me.
site.WebApplication.FormDigestSettings.Enabled = false;
                        web.AllowUnsafeUpdates = true;
SPUser user = web.CurrentUser;

                        SPRoleDefinition RoleDefinitionRdr = web.RoleDefinitions.GetByType(SPRoleType.Reader);
                        SPRoleAssignment roleAssignment = new SPRoleAssignment((SPPrincipal)user);
                        roleAssignment.RoleDefinitionBindings.Add(RoleDefinitionRdr);

Then MyQuestionListItem.Roleassignment.Add(roleAssignment)

but It throwing Error Message like -
1. The security validation for this page is invalid   &amp; another on is 
2. Operation is not valid due to the current state of the object

If you have pointer then please let me know how I can achieve this. 

Also Please let me know If you have know something about my query dated &quot;Datta Time April 16, 2010 at 12:34 pm&quot; 

Once agian Thanks</description>
		<content:encoded><![CDATA[<p>Thanks for your reply. Item level persmission.  Suppose user has set permission as Reader to one documen &amp; Contributor for another document using out of box SP Manage Permsiion Menu. Then same Persimmision should assign to document/Item which transfer to other document list.  I wrote sample code snippest but It throws Error 4 me.<br />
site.WebApplication.FormDigestSettings.Enabled = false;<br />
                        web.AllowUnsafeUpdates = true;<br />
SPUser user = web.CurrentUser;</p>
<p>                        SPRoleDefinition RoleDefinitionRdr = web.RoleDefinitions.GetByType(SPRoleType.Reader);<br />
                        SPRoleAssignment roleAssignment = new SPRoleAssignment((SPPrincipal)user);<br />
                        roleAssignment.RoleDefinitionBindings.Add(RoleDefinitionRdr);</p>
<p>Then MyQuestionListItem.Roleassignment.Add(roleAssignment)</p>
<p>but It throwing Error Message like -<br />
1. The security validation for this page is invalid   &amp; another on is<br />
2. Operation is not valid due to the current state of the object</p>
<p>If you have pointer then please let me know how I can achieve this. </p>
<p>Also Please let me know If you have know something about my query dated &#8220;Datta Time April 16, 2010 at 12:34 pm&#8221; </p>
<p>Once agian Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G Vijai Kumar</title>
		<link>http://www.fivenumber.com/copy-sharepoint-list-items-from-one-site-to-another-programmatically/comment-page-1/#comment-475</link>
		<dc:creator>G Vijai Kumar</dc:creator>
		<pubDate>Tue, 25 May 2010 06:30:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.fivenumber.com/?p=541#comment-475</guid>
		<description>@ Datta: What permissions you want to manage exactly? do you want to set list permissions while copying items from one list to another?
Please provide more information, thanks</description>
		<content:encoded><![CDATA[<p>@ Datta: What permissions you want to manage exactly? do you want to set list permissions while copying items from one list to another?<br />
Please provide more information, thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
