<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx</link><description>[ Part 1 - Part 2 - Part 3 - Part 4 - Part 5 - Part 6 ] Providing some real world samples for export To demonstrate how powerful the Content Deployment and Migration API is I will now provide some real world examples: Export a complete Site Collection</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Deep Dive into the SharePoint Content Deployment and Migration API - Part 3</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#1864827</link><pubDate>Fri, 31 Aug 2007 05:00:16 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1864827</guid><dc:creator>Stefan Goßner</dc:creator><description>&lt;p&gt;Providing some real world samples for import After we managed to export content in part 2 lets now focus&lt;/p&gt;
</description></item><item><title>SharePoint Content Deployment and the Migration API</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#1865880</link><pubDate>Fri, 31 Aug 2007 07:41:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1865880</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;Stefan is back! J Stefan is in Redmond this week, and we had a chance to catch up! In fact, I had dinner&lt;/p&gt;
</description></item><item><title>Deep Dive in SharePoint Deployment und Migration API</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#1867121</link><pubDate>Fri, 31 Aug 2007 12:32:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1867121</guid><dc:creator>SharePoint, SharePoint and stuff </dc:creator><description>&lt;p&gt;Stefan Go&amp;#223;ner taucht in einer vierteiligen Serie in die Tiefen der SharePoint Deployment und Migration&lt;/p&gt;
</description></item><item><title>Deep Dive into the SharePoint Content Deployment and Migration API - Part 4</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#1871052</link><pubDate>Sat, 01 Sep 2007 00:38:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1871052</guid><dc:creator>Stefan Goßner</dc:creator><description>&lt;p&gt;[ Part 1 - Part 2 - Part 3 - Part 4 ] Advanced content deployment scenarios Till now we have covered&lt;/p&gt;
</description></item><item><title>Fantastic, incredibly detailed, content on content deployment by Stefan</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#1871964</link><pubDate>Sat, 01 Sep 2007 04:40:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1871964</guid><dc:creator>Andrew Connell [MVP MOSS]</dc:creator><description>&lt;p&gt;Fantastic, incredibly detailed, content on content deployment by Stefan&lt;/p&gt;
</description></item><item><title>Fantastic, incredibly detailed, content on content deployment by Stefan</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#1872032</link><pubDate>Sat, 01 Sep 2007 05:00:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1872032</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;[via Stefan Gossner ] This past week I was in Redmond teaching my WCM401 development class in an open&lt;/p&gt;
</description></item><item><title>Content migration API "Deep Dive" by Stefan Goßner</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#1886622</link><pubDate>Mon, 03 Sep 2007 13:03:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1886622</guid><dc:creator>Mirrored Blogs</dc:creator><description>&lt;p&gt;Body: Great series of posts by Stefan on how to use the Content Migration API. Very timely for me as&lt;/p&gt;
</description></item><item><title> MOSS2007 deployment on WSS 3.0 Server</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#1887407</link><pubDate>Mon, 03 Sep 2007 15:14:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1887407</guid><dc:creator>sachin sharma</dc:creator><description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We can have full license for MOSS 2007 for intranet / CMS access for content management, though for the public-facing content delivery part we intend on using Windows SharePoint Services 3.0 (which comes w/ Windows Server 2003), and not have to purchase internet connector for MOSS 2007.&lt;/P&gt;
&lt;P&gt;To get a little deep into the scenario, for authoring and content management, MOSS 2007 with SQL Server 2005 as the database would be used. The content authored (we plan to) would eventually be exported on a different box with Win 2003 machine with WSS V3 and SQL Server 2005 installed. Once this is done we can currently think of the below mentioned scenarios to publish our site –&lt;/P&gt;
&lt;P&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write a custom engine that pulls out content from the database (using APIs, if provided by WSS 3.0) on every hit to the page.&lt;/P&gt;
&lt;P&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Use Out of the box features provided by WSS V3 to pull out content from the database on every hit to the page.&lt;/P&gt;
&lt;P&gt;I would really appreciate if you could give us some insight into the feasibility of the approaches that we are intending to take up.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Sachin&lt;/P&gt;
&lt;P&gt;sachsharma@sapient.com&lt;/P&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#1888414</link><pubDate>Mon, 03 Sep 2007 18:39:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1888414</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Sachin,&lt;/p&gt;
&lt;p&gt;I don't think this method will be practically useful. Without MOSS you will not have the page layout concept of the pages layout. So you only see the fields.&lt;/p&gt;
&lt;p&gt;You will not be able to influence how the fields are arranged in the page and within a master page.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>SharePoint内容部署与迁移API</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#1939415</link><pubDate>Tue, 11 Sep 2007 18:02:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1939415</guid><dc:creator>Joycode@Ab110.com</dc:creator><description>&lt;p&gt;今天凌晨加班的时候偶然翻到 Stefan Gossner 的这几篇文章，强烈推荐给大家： Deep Dive into the SharePoint Content Deployment and Migration&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2000316</link><pubDate>Thu, 20 Sep 2007 11:47:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2000316</guid><dc:creator>Flemming Carlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for these great articles - they gave me a kickstart on content deployment at the right time!&lt;/p&gt;
&lt;p&gt;I have a scenario where we need to move contents from lists on developer servers, to test and further on to production. The site structure is not neccessarily the same on the different environments, so the sample for importing in a different structure is a great starting point. &lt;/p&gt;
&lt;p&gt;A note on incremental import should be said - it is not supported on lists - only sites and webs. I get around this by using an importhandler that checks the imported ListItem, and if it already exists (checked by CAML query on list-webservice) is deleted again. I find this approach easier to code compared to manipulating the manifest.xml file.&lt;/p&gt;
&lt;p&gt;I think the performance is a bit problematic. Exporting 196 ListItems take in average 10 minutes. I fear the time, when we get 1-2000 items in the list. I am currently looking into ways to improve performance and will be investigating the usage of indexed columns. Any hints are welcome..&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Flemming&lt;/p&gt;</description></item><item><title>MOSS / SharePoint Content Deployment</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2040863</link><pubDate>Tue, 25 Sep 2007 12:49:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2040863</guid><dc:creator>Connecting Systems the Microsoft Way</dc:creator><description>&lt;p&gt;Great set of articles by Stefan Go&amp;#223;ner : Deep Dive Into the SharePoint Content Deployment...&lt;/p&gt;
</description></item><item><title>MOSS / SharePoint Content Deployment</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2065293</link><pubDate>Fri, 28 Sep 2007 09:38:41 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2065293</guid><dc:creator>Connected Systems Chilled Out Blog</dc:creator><description>&lt;p&gt;MOSS / SharePoint Content Deployment&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2244941</link><pubDate>Wed, 24 Oct 2007 23:18:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2244941</guid><dc:creator>Tihomir Ignatov</dc:creator><description>&lt;p&gt;I' trying to export my &amp;quot;Pages&amp;quot; library with this code:&lt;/p&gt;
&lt;p&gt;SPSite site = new SPSite(&amp;quot;&lt;a rel="nofollow" target="_new" href="http://vm-spwf&amp;quot;"&gt;http://vm-spwf&amp;quot;&lt;/a&gt;);&lt;/p&gt;
&lt;p&gt;SPWeb web = site.OpenWeb();&lt;/p&gt;
&lt;p&gt;SPList list = web.Lists[&amp;quot;Pages&amp;quot;];&lt;/p&gt;
&lt;p&gt;SPExportObject exportObject = new SPExportObject();&lt;/p&gt;
&lt;p&gt;exportObject.Id = list.ID;&lt;/p&gt;
&lt;p&gt;exportObject.Type = SPDeploymentObjectType.List;&lt;/p&gt;
&lt;p&gt;SPExportSettings settings = new SPExportSettings();&lt;/p&gt;
&lt;p&gt;settings.SiteUrl = &amp;quot;&lt;a rel="nofollow" target="_new" href="http://vm-spwf&amp;quot;"&gt;http://vm-spwf&amp;quot;&lt;/a&gt;;&lt;/p&gt;
&lt;p&gt;settings.ExportMethod = SPExportMethodType.ExportAll;&lt;/p&gt;
&lt;p&gt;settings.FileLocation = @&amp;quot;c:\export.1&amp;quot;;&lt;/p&gt;
&lt;p&gt;settings.FileCompression = false;&lt;/p&gt;
&lt;p&gt;settings.ExcludeDependencies = false;&lt;/p&gt;
&lt;p&gt;settings.ExportObjects.Add(exportObject);&lt;/p&gt;
&lt;p&gt;SPExport export = new SPExport(settings);&lt;/p&gt;
&lt;p&gt;export.Run();&lt;/p&gt;
&lt;p&gt;web.Close();&lt;/p&gt;
&lt;p&gt;site.Close();&lt;/p&gt;
&lt;p&gt;I received the following Exception:&lt;/p&gt;
&lt;p&gt;Violation of PRIMARY KEY constraint 'PK__#ExportObjects____73DFBB75'. Cannot insert duplicate key in object 'dbo.#ExportObjects'.&lt;/p&gt;
&lt;p&gt;The statement has been terminated.&lt;/p&gt;
&lt;p&gt;Where is the problem ?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tihomir Ignatov&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2248039</link><pubDate>Thu, 25 Oct 2007 10:51:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2248039</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Tihomir,&lt;/p&gt;
&lt;p&gt;please ensure that the latest security fixes for WSS and MOSS are installed. If this does not fix the problem, please open a support case to get this analyzed.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>Export Content Types</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2540041</link><pubDate>Wed, 21 Nov 2007 19:58:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2540041</guid><dc:creator>Joe</dc:creator><description>&lt;P&gt;Hi Stefan,&lt;/P&gt;
&lt;P&gt;I've successfully written some tools to run site exports and imports. &amp;nbsp;Thanks for the examples, they worked well. &amp;nbsp;I am now trying to write some code to export a single page layout with the corresponding content type. &amp;nbsp;I was hoping that exporting the page layout would grab the content type as a dependency but this doesn't seem to be the case. &amp;nbsp;Since content types are SPContentType objects and do not have GUID IDs, I am having real trouble writing the export code for a content type. &amp;nbsp;Any chance you can add a sample on this? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;Joe&lt;/P&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2544041</link><pubDate>Thu, 22 Nov 2007 16:29:50 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2544041</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Joe,&lt;/p&gt;
&lt;p&gt;sorry that is not possible this way.&lt;/p&gt;
&lt;p&gt;You should handle content types using custom features.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2594493</link><pubDate>Fri, 30 Nov 2007 16:56:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2594493</guid><dc:creator>Helmut</dc:creator><description>&lt;p&gt;Hello again.&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Will the Import/Export functions via the API take care of this situation:&lt;/p&gt;
&lt;p&gt;1. &amp;nbsp;I have a test site called&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://mysitetest.com"&gt;http://mysitetest.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. &amp;nbsp;I'd like to import the export package into a site called &lt;a rel="nofollow" target="_new" href="http://mysite.com"&gt;http://mysite.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;The OOTB tools would create a site called:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://mysitetest/mysite.com"&gt;http://mysitetest/mysite.com&lt;/a&gt;, which I do not want. &amp;nbsp;Again, will the API handle this situation? &amp;nbsp;I need to have a proof of concept done by next Wednesday. &amp;nbsp;Thanks!&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2680490</link><pubDate>Wed, 26 Dec 2007 08:34:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2680490</guid><dc:creator>Marees</dc:creator><description>&lt;p&gt;i have exported a &lt;a rel="nofollow" target="_new" href="http://servername:6000/Test"&gt;http://servername:6000/Test&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;i need to import this site to the url &lt;a rel="nofollow" target="_new" href="http://servername:6000/a000123"&gt;http://servername:6000/a000123&lt;/a&gt;.(insteads of Test, it shouls create in a000123)&lt;/p&gt;
&lt;p&gt;but it tries to import to &lt;a rel="nofollow" target="_new" href="http://servername:6000/a000123"&gt;http://servername:6000/a000123&lt;/a&gt;/Test.&lt;/p&gt;
&lt;p&gt;how to import this to particular site?&lt;/p&gt;
&lt;p&gt;-Marees&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2681036</link><pubDate>Wed, 26 Dec 2007 13:19:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2681036</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Marees,&lt;/p&gt;
&lt;p&gt;export import does not allow to rename an item. Only to export and import it to different locations.&lt;/p&gt;
&lt;p&gt;When exporting &lt;a rel="nofollow" target="_new" href="http://servername:6000/Test"&gt;http://servername:6000/Test&lt;/a&gt; then the web Test and most likely the items underneath are exported.&lt;/p&gt;
&lt;p&gt;When importing this package to a different location you can decide where to place the exported objects. That what you did. You decided to import at a000123 rather than at the root.&lt;/p&gt;
&lt;p&gt;But still all items in the package (including the exported Test web) will be imported here.&lt;/p&gt;
&lt;p&gt;I assume what you are looking for is to export all items inside the Test web and then import them into the a000123 web.&lt;/p&gt;
&lt;p&gt;If this is what you are looking for then you need to export only the included items (e.g. the document libraries and lists) and child swebs and not the Test web itself.&lt;/p&gt;
&lt;p&gt;Then you can decide that all the items in the export package should go below the a000123 web.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2683567</link><pubDate>Thu, 27 Dec 2007 13:51:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2683567</guid><dc:creator>Marees</dc:creator><description>&lt;p&gt;Thanks Stefan for the quick response.&lt;/p&gt;
&lt;p&gt;my requirement:&lt;/p&gt;
&lt;p&gt;Export &amp;quot;http:\\servername:6000\Test&amp;quot; site using SPExport object.&lt;/p&gt;
&lt;p&gt;When i try to import this &amp;quot;Test&amp;quot; site to other webapplication &amp;quot;http:\\servername:6001\g000123&amp;quot;&lt;/p&gt;
&lt;p&gt;.Its throwing exception &amp;quot;\g000123\test&amp;quot; is not found in the server.&lt;/p&gt;
&lt;p&gt;note: there is no site g000123 in this web app. &amp;quot;Test&amp;quot; site should be created in the name of g000123. &lt;/p&gt;
&lt;p&gt;I need the imported site url as http:\\servername:6001\g000123 not as&lt;/p&gt;
&lt;p&gt;http:\\servername:6001\g000123\Test&lt;/p&gt;
&lt;p&gt;so, i exported &amp;quot;Test&amp;quot; site using SPExport object and then imported the site using stsadm command.&lt;/p&gt;
&lt;p&gt;stsadm -o import -url &lt;a rel="nofollow" target="_new" href="http://servename:6001/g000123"&gt;http://servename:6001/g000123&lt;/a&gt; -filename export.cab&lt;/p&gt;
&lt;p&gt;(note:there is no site g000123 in this web app)&lt;/p&gt;
&lt;p&gt;now the &amp;quot;Test&amp;quot; site is created in the name of g000123. &lt;/p&gt;
&lt;p&gt;Is this is right way to do it?&lt;/p&gt;
&lt;p&gt;How this stsadm import command did it?.&lt;/p&gt;
&lt;p&gt;how to do this using API?&lt;/p&gt;
&lt;p&gt;I used SPExport object because it supports exclude subsites option &amp;nbsp;but stsadm export command does not support this, it export all sites and it subsites.&lt;/p&gt;
&lt;p&gt;Please help me.&lt;/p&gt;
&lt;p&gt;Marees&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2683723</link><pubDate>Thu, 27 Dec 2007 15:19:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2683723</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Marees,&lt;/p&gt;
&lt;p&gt;again: you cannot rename items using the export import mnethod.&lt;/p&gt;
&lt;p&gt;Please do not export the test web. Only export the items inside.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2693975</link><pubDate>Mon, 31 Dec 2007 09:00:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2693975</guid><dc:creator>marees</dc:creator><description>&lt;p&gt;Stefan,&lt;/p&gt;
&lt;p&gt;Thanks for reply.&lt;/p&gt;
&lt;p&gt;How to export only the items inside the TestWeb ?&lt;/p&gt;
&lt;p&gt;-marees&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2694398</link><pubDate>Mon, 31 Dec 2007 11:20:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2694398</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Marees,&lt;/p&gt;
&lt;p&gt;you need to enumerate them and add them to the ExportObjects collection one by one.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2746023</link><pubDate>Mon, 14 Jan 2008 21:51:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2746023</guid><dc:creator>Sammuello</dc:creator><description>&lt;p&gt;I'm having trouble finding a solution to deploy Sharepoint artifacts (master pages, page layouts) WITHOUT content. We're in a situation where we're about to deploy a site to a client's web environment; they'll be making changes to content, but we'll no doubt be making changes to the master pages, page layouts, etc over the coming months and we're not wanting to overwrite the content by using the backup/restore method. Are the import/export methods either via the command line or through the API capable of acheiving this?&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2747241</link><pubDate>Tue, 15 Jan 2008 11:11:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2747241</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Sammuello,&lt;/p&gt;
&lt;p&gt;these things should be deployed using features - not using content deployment.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2747697</link><pubDate>Tue, 15 Jan 2008 17:57:43 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2747697</guid><dc:creator>Sammuello</dc:creator><description>&lt;p&gt;Thanks Stefan - appreciate the quick response. I'm now going down the features route. This probably isn't the thread to discuss this in detail, but do you happen to know if there are any tools in existence to automatically package up artifacts into a feature, without manaually having to extract the files &amp;amp; describe them in an xml document?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Sam &lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2747737</link><pubDate>Tue, 15 Jan 2008 18:36:21 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2747737</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Sam,&lt;/p&gt;
&lt;p&gt;sorry haven't looked into this.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2754481</link><pubDate>Thu, 17 Jan 2008 17:30:47 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2754481</guid><dc:creator>Ceej</dc:creator><description>&lt;p&gt;Hello Stefan,&lt;/p&gt;
&lt;p&gt;Great series of articles, thanks.&lt;/p&gt;
&lt;p&gt;For incremental updates where is the change token stored? i.e. is it possible to find out what the change token is following the last time a central admin incremental content deployment job ran?&lt;/p&gt;
&lt;p&gt;Also, when writing a custom incremental export where should the value of settings.CurrentChangeToken be stored? When executing the next incremental job the token must be picked up from somewhere?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2754499</link><pubDate>Thu, 17 Jan 2008 17:38:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2754499</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;you would need to keep the change token returned from the earlier run yourself.&lt;/p&gt;
&lt;p&gt;You cannot query it.&lt;/p&gt;
&lt;p&gt;That is what content deployment does as well. It stores the change token in the configuration settings of the deployment job.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2754541</link><pubDate>Thu, 17 Jan 2008 18:07:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2754541</guid><dc:creator>Ceej</dc:creator><description>&lt;p&gt;Thanks Stefan,&lt;/p&gt;
&lt;p&gt;That makes sense. So presumably in the case of the content deployment job you can get hold of it through the API and access the settings and change token etc?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Chris &lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2754551</link><pubDate>Thu, 17 Jan 2008 18:13:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2754551</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;That is correct.&lt;/p&gt;
&lt;p&gt;E.g. using the following code:&lt;/p&gt;
&lt;p&gt;ContentDeploymentPathCollection deployPaths = ContentDeploymentPath.GetAllPaths();&lt;/p&gt;
&lt;p&gt;foreach (ContentDeploymentPath path in deployPaths)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;foreach (ContentDeploymentJob job in path.Jobs)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach (SPExportObject o in job.ExportObjects)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine(&amp;quot;ExportChangeToken=&amp;quot; + o.ExportChangeToken);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2773730</link><pubDate>Thu, 24 Jan 2008 02:10:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2773730</guid><dc:creator>Tim</dc:creator><description>&lt;p&gt;Stefan, &lt;/p&gt;
&lt;p&gt;We've been having problems pushing content through central admin, timeouts etc. I believe this is because the site is around 35 gigabytes. We can create MANY jobs that each define a few webs, and then everything works. But pushing the entire site collection &amp;quot;/&amp;quot; has been a no go. So, rather than having to define all these jobs I was thinking I could just write some code to do an initial full content export. Then copy and paste those cab files and reimport on the other farm. &lt;/p&gt;
&lt;p&gt;Then what I would *like* to be able to do is keep the one job specified by CA but just push changes. I expect however that this will not work because CA will not have my change token and so it will just try to perform a full content push. &lt;/p&gt;
&lt;p&gt;So, I guess my question is, is it possible for CA to know about the content that I pushed through the API? &lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2775067</link><pubDate>Thu, 24 Jan 2008 10:56:43 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2775067</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Tim,&lt;/p&gt;
&lt;p&gt;your assumption is correct. The Central Admin will not know about this.&lt;/p&gt;
&lt;p&gt;It might be possible to adjust the Change Token in the deployment job using the API but I haven't tried this.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>Deep Dive Into the SharePoint Content Deployment and Migration API</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#2931540</link><pubDate>Mon, 25 Feb 2008 22:53:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2931540</guid><dc:creator>Mike's Blog</dc:creator><description>&lt;p&gt;Stefan Go&amp;#223;ner posted a great series of posts about the Content Migration API (formerly known as PRIME&lt;/p&gt;
</description></item><item><title>Deep Dive into the SharePoint Content Deployment and Migration API - Part 6</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3035370</link><pubDate>Sat, 12 Apr 2008 02:37:45 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3035370</guid><dc:creator>Stefan Goßner</dc:creator><description>&lt;p&gt;[ Part 1 - Part 2 - Part 3 - Part 4 - Part 5 - Part 6 ] Requirements for a successful content deployment&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3046295</link><pubDate>Mon, 28 Apr 2008 15:12:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3046295</guid><dc:creator>Adam</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Great series of articles.&lt;/p&gt;
&lt;p&gt;Do you know if it is possible to export/import workflows created with SharePoint Designer using the API?&lt;/p&gt;
&lt;p&gt;stsadm import/export seems to do it (but loses the association to the list/doc lib beacuse of the new guids) so I would have thought the API would also support this.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Adam&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3046300</link><pubDate>Mon, 28 Apr 2008 15:25:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3046300</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Adam,&lt;/p&gt;
&lt;p&gt;honestly I haven't tried it. If it is a GUID related thing it should work when using RetainObjectIdentity on import which preserves the GUIDs.&lt;/p&gt;
&lt;p&gt;Did you try this?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3065988</link><pubDate>Wed, 04 Jun 2008 17:24:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3065988</guid><dc:creator>Enrique_Blanco</dc:creator><description>&lt;p&gt;I'm having some problems while trying to create a tool to copy list items to another list:&lt;/p&gt;
&lt;p&gt;a) When I export the items the file RootObjectMap.xml (which contains the items I can reparent) is empty, so I can't reparent the items (I export the items one by one adding them to the Export objects collection). It happens only with some lists, with others the items are orphaned as I would like... &amp;#191;Any ideas?&lt;/p&gt;
&lt;p&gt;b) When an item with more than one version is imported the last version has the correct modified date, but all the other versions have the time when the import is run. I seems that is a bug... any workarround?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3066014</link><pubDate>Wed, 04 Jun 2008 18:18:52 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3066014</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Enrique,&lt;/p&gt;
&lt;p&gt;a) this will happen if you used the incremental export. You cannot remap files if you used this option.&lt;/p&gt;
&lt;p&gt;b) I haven't heard about this. Please open a support case for this.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3066038</link><pubDate>Wed, 04 Jun 2008 18:56:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3066038</guid><dc:creator>Enrique_Blanco</dc:creator><description>&lt;p&gt;Thanks for the quick answer, but I specify SPExportMethodType.ExportAll as ExportMethod. &lt;/p&gt;
&lt;p&gt;If I run the same code against two different lists I don't get consistent results... can I be missing something?&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3066040</link><pubDate>Wed, 04 Jun 2008 19:06:21 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3066040</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Enrique,&lt;/p&gt;
&lt;p&gt;I haven't see this.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>SharePoint Site vs. Web exports/imports and Custom Layout Pages</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3068352</link><pubDate>Mon, 09 Jun 2008 20:28:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3068352</guid><dc:creator>kindohm.com</dc:creator><description>&lt;p&gt;SharePoint Site vs. Web exports/imports and Custom Layout Pages&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3095910</link><pubDate>Thu, 31 Jul 2008 00:57:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3095910</guid><dc:creator>Ajay</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Can we increase the cab file size.&lt;/p&gt;
&lt;p&gt;By default it breaks the big files because of the 25 mb default.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Ajay&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3096003</link><pubDate>Thu, 31 Jul 2008 09:55:42 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3096003</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Ajay,&lt;/p&gt;
&lt;p&gt;yes this can be done. Please check the following article for details:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/stefan_gossner/archive/2008/05/28/pimp-my-content-deployment-job.aspx"&gt;http://blogs.technet.com/stefan_gossner/archive/2008/05/28/pimp-my-content-deployment-job.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;MaxFileSize is the parameter you need to adjust.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3125328</link><pubDate>Wed, 17 Sep 2008 21:05:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3125328</guid><dc:creator>Elhadi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Curious and urgent ! you don't talk about the ExcludeChildrens property. I am confused between IncludeDescendants and ExcludeChildrens properties, what's exactly the difference between descendants and childrens ? &lt;/p&gt;
&lt;p&gt;The MSDN do not explain that, so you are the last hope ;)&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3125436</link><pubDate>Thu, 18 Sep 2008 01:43:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3125436</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Elhadi,&lt;/p&gt;
&lt;p&gt;if you check above you will find that I have explained the two properties. The Include Decendants allows to decide whether to export referenced items like page layout and images (which can exist in different sites and libraries) are exported together with the referencing page or not.&lt;/p&gt;
&lt;p&gt;The ExcludeChildren allows to decide whether to exclude child galleries (means galleries inside the current web) or not.&lt;/p&gt;
&lt;p&gt;So they are completly different.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3125706</link><pubDate>Thu, 18 Sep 2008 17:02:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3125706</guid><dc:creator>Elhadi</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;I am really worried, in the article you explain the properties SPExportSettings.ExcludeDependencies and SPExportObject.IncludeDescendants, but not the SPExportObject.ExcludeChildren.&lt;/p&gt;
&lt;p&gt;I think also that you in your last post you confused the definition of IncludeDescendants with ExcludeDependencies.&lt;/p&gt;
&lt;p&gt;I'm really embarrassed to insist like that but please verify&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3136218</link><pubDate>Tue, 14 Oct 2008 10:25:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3136218</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Elhadi,&lt;/p&gt;
&lt;p&gt;sorry for this! You are right. What happens when using ExcludeChildren = true is that it sets IncludeDecendents to SPIncludeDescendants.Content if you set it to false it will set IncludeDecendets to SPIncludeDescendants.All.&lt;/p&gt;
&lt;p&gt;So this is more or less an option to use an oposit logic. You should not mix the use of IncludeDecendent with ExcludeChildren.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3172877</link><pubDate>Wed, 24 Dec 2008 12:02:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3172877</guid><dc:creator>Frankie</dc:creator><description>&lt;p&gt;Dear Stefan,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Does incremental update support SPList? If not, is there any suggestion to implement it? Thanks!&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3173212</link><pubDate>Thu, 25 Dec 2008 23:14:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3173212</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Frankie,&lt;/p&gt;
&lt;p&gt;&amp;#237;ncremental update supports also SPList and SPListItem objects.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3174185</link><pubDate>Mon, 29 Dec 2008 04:18:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3174185</guid><dc:creator>FLPF</dc:creator><description>&lt;p&gt;Dear Stefan,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;But when i used SPExportMethodType.ExportChanges to export a specify list changes, i got below errors.&lt;/p&gt;
&lt;p&gt;Microsoft.SharePoint.SPException: Incremental export is only supported for SPSite and SPWeb objects.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Deployment.SPExportSettings.Validate()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Deployment.SPExport.InitializeExport()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Deployment.SPExport.Run()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at WSSMigration.ContentMigration.ExportList(String SiteURL, String sWeb, String sListName, String exportFileLocation, Boolean bCompress, String strToken)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at WSSMigration.Program.Main(String[] args)&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Please give advise. Many thanks!&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3174259</link><pubDate>Mon, 29 Dec 2008 10:34:18 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3174259</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Frankie,&lt;/p&gt;
&lt;p&gt;sorry I misunderstood you. I thought you are exporting a site or web and would like to know if the included lists will be exported incrementally.&lt;/p&gt;
&lt;p&gt;It seems you have defined a SPList object as SPExportObject. Here the incremental method does not work.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3176956</link><pubDate>Tue, 06 Jan 2009 15:18:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3176956</guid><dc:creator>Freda</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;I have read your great post. Thanks&lt;/p&gt;
&lt;p&gt;I have a situation. I would like to copy all content from a source site to a destination site but want to just exclude the custom lists from the source site.&lt;/p&gt;
&lt;p&gt;Any idea how i can achieve this?&lt;/p&gt;
&lt;p&gt;Appreciate your help.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Freda&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3177166</link><pubDate>Wed, 07 Jan 2009 00:34:13 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3177166</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Freda,&lt;/p&gt;
&lt;p&gt;that cannot be done out of the box. I think the easiest way would be to export/import everything and afterwards delete the unwanted content using a script.&lt;/p&gt;
&lt;p&gt;Alternatively you could modify the content of the manifest.xml file after export and remove all references to the unwanted content which will ensure that the content is not imported.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3177266</link><pubDate>Wed, 07 Jan 2009 08:33:47 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3177266</guid><dc:creator>Freda</dc:creator><description>&lt;p&gt;Thanks for the ideas Stefan,&lt;/p&gt;
&lt;p&gt;I will be trying this today...will keep you updated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Freda&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3177339</link><pubDate>Wed, 07 Jan 2009 13:08:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3177339</guid><dc:creator>Freda</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;As suggested by you I did the following...&lt;/p&gt;
&lt;p&gt;1)From the 12 hive, ran the stsadm -o export command.This gave a .cab file in BIN folder.&lt;/p&gt;
&lt;p&gt;2)Extracted the contents using winrar and Got a folder with .dat files and .xml files&lt;/p&gt;
&lt;p&gt;3)Opened the manifest.xml file and removed unwanted content.Saved the file.&lt;/p&gt;
&lt;p&gt;5)Since I dint know how to cab it back again. I just re-compressed the same folder using winrar and renamed it to .cab&lt;/p&gt;
&lt;p&gt;6)I then ran an import command from same Bin folder, but unfortunately ended up getting the following error:&lt;/p&gt;
&lt;p&gt;&amp;quot;FatalError: Failed to read package file.&lt;/p&gt;
&lt;p&gt;Error: Unable to read cabinet info from C:\Program Files\Common Files\Microsoft&lt;/p&gt;
&lt;p&gt;Shared\web server extensions\12\BIN\AuthoringExport.cab&lt;/p&gt;
&lt;p&gt;Start Time: 1/7/2009 3:28:13 AM.&lt;/p&gt;
&lt;p&gt;Progress: Initializing Import.&lt;/p&gt;
&lt;p&gt;Error: Unable to read cabinet info from C:\AuthoringExport.cab&lt;/p&gt;
&lt;p&gt;FatalError: Failed to read package file.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest&lt;/p&gt;
&lt;p&gt; request)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Deployment.SPImport.Run()&lt;/p&gt;
&lt;p&gt;*** Inner exception:&lt;/p&gt;
&lt;p&gt;Unable to read cabinet info from C:\AuthoringExport.cab&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Library.SPRequest.ExtractFilesFromCabinet(String bstr&lt;/p&gt;
&lt;p&gt;TempDirectory, String bstrCabFileLocation)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Deployment.ImportDataFileManager.&amp;lt;&amp;gt;c__DisplayClass2.&amp;lt;&lt;/p&gt;
&lt;p&gt;Uncompress&amp;gt;b__0()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPSecurity.&amp;lt;&amp;gt;c__DisplayClass4.&amp;lt;RunWithElevatedPrivile&lt;/p&gt;
&lt;p&gt;ges&amp;gt;b__2()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunEleva&lt;/p&gt;
&lt;p&gt;ted secureCode)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback sec&lt;/p&gt;
&lt;p&gt;ureCode, Object param)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevate&lt;/p&gt;
&lt;p&gt;d secureCode)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Deployment.ImportDataFileManager.Uncompress(SPRequest&lt;/p&gt;
&lt;p&gt; request)&lt;/p&gt;
&lt;p&gt;Progress: Import Completed.&lt;/p&gt;
&lt;p&gt;Finish Time: 1/7/2009 3:28:14 AM.&lt;/p&gt;
&lt;p&gt;Completed with 0 warnings.&lt;/p&gt;
&lt;p&gt;Completed with 2 errors.&lt;/p&gt;
&lt;p&gt;Log file generated:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C:\AuthoringExport.cab.import.log&lt;/p&gt;
&lt;p&gt;Failed to read package file.&amp;quot;&lt;/p&gt;
&lt;p&gt;I dont know if I am doing something wrong?&lt;/p&gt;
&lt;p&gt;Inputs from you are appreciated!&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Freda Grace&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3177343</link><pubDate>Wed, 07 Jan 2009 13:23:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3177343</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;A rar is not a cab.&lt;/p&gt;
&lt;p&gt;Both use different compression. Winrar can decompress many different compression types but it will always create a rar file.&lt;/p&gt;
&lt;p&gt;But you don't have to compress at all.&lt;/p&gt;
&lt;p&gt;Or uncompress.&lt;/p&gt;
&lt;p&gt;STSADM -o export/import has a parameter which allows to use uncompressed data: -nofilecompression&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3177356</link><pubDate>Wed, 07 Jan 2009 14:09:58 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3177356</guid><dc:creator>Freda</dc:creator><description>&lt;p&gt;Yea, I used the same parameter immediately after posting the comment you and it worked!&lt;/p&gt;
&lt;p&gt;The Custom list was not created in the destination site as was required,but I feel this manual procedure of making changes in the manifest.xml file is quite risky. Also how can we achieve it if we have number of such custom lists to remove. Because for removing content related to just one list (for testing), I had to remove atleast 5 xml tags.&lt;/p&gt;
&lt;p&gt;Can you suggest any better way? Or any way in which we can atleast automate this process?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Freda Grace&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3177359</link><pubDate>Wed, 07 Jan 2009 14:43:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3177359</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Freda,&lt;/p&gt;
&lt;p&gt;it is indeed risky. And if the content in the DB would not be correct afterwards it would be your responsibility to correct it.&lt;/p&gt;
&lt;p&gt;If you would like to go this route I would suggest to write a tool which does the cleanup of the manifest.&lt;/p&gt;
&lt;p&gt;Alternatively you would need to delete the lists after import.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3177374</link><pubDate>Wed, 07 Jan 2009 15:19:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3177374</guid><dc:creator>Freda</dc:creator><description>&lt;p&gt;Yes,&lt;/p&gt;
&lt;p&gt;I guess your right...was just wondering if I write a tool to do the clean up, what about the dependent objects? Dont we have to clean them up too? If yes, then is there a way that we can find out dependent objects of a particular list say for example which workflow is being run on it, etc?&lt;/p&gt;
&lt;p&gt;Thanks for your time..&lt;/p&gt;
&lt;p&gt;Freda&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Freda Grace&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3177377</link><pubDate>Wed, 07 Jan 2009 15:31:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3177377</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Freda,&lt;/p&gt;
&lt;p&gt;yes you need to cleanup all dependent objects and also all references in other objects to the removed ones.&lt;/p&gt;
&lt;p&gt;It depends on the complexity of your site structure how much cleanup would be required.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3182732</link><pubDate>Thu, 15 Jan 2009 13:10:18 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3182732</guid><dc:creator>judith</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I'm looking for a code to move pages between webs ( for archival )&lt;/p&gt;
&lt;p&gt;most of the codes use export/import API, but this only copy the page instead of moving it!&lt;/p&gt;
&lt;p&gt;any idea? should i delete the page after export/import? there is no elegant way?&lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3182743</link><pubDate>Thu, 15 Jan 2009 13:41:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3182743</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Judith,&lt;/p&gt;
&lt;p&gt;after the successful import you have to delete the old page.&lt;/p&gt;
&lt;p&gt;That is what happens when moving in manage content and structure as well.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>Content Deployment - Best Practices</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3183860</link><pubDate>Fri, 16 Jan 2009 15:42:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3183860</guid><dc:creator>Stefan Goßner</dc:creator><description>&lt;p&gt;In the past I have released several blogs about the various problems that can occur with Content Deployment.&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3200698</link><pubDate>Wed, 11 Feb 2009 10:47:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3200698</guid><dc:creator>Rahul Singh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using two sharepoint sites one as primary and other as secondary, and these sites are being used to store video's. These video's are attached as attachments in a list. I am using Windows Sharepoint Services. Along with that I am using External Blob storage to actually store these video's.&lt;/p&gt;
&lt;p&gt;I am using Content Deployment API to synchronize data b/w the two sites. I am always using Retain ID's to ensure no duplicate data is being created.&lt;/p&gt;
&lt;p&gt;My problem is that Content Deployment API while importing List Items updates the meta-data but doesn't update the attachment if the attachment name remains same , even if the actual attachment has changed. Like in my case, the attachment size and duration has changed but name remains same, yet it doesn't replaces it. &lt;/p&gt;
&lt;p&gt;Is there anyway where i can force the replacement of attachments. Any other suggestion would be welcome.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Rahul Singh&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3200773</link><pubDate>Wed, 11 Feb 2009 13:47:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3200773</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Rahul,&lt;/p&gt;
&lt;p&gt;I haven't seen this. Please open a support case with Microsoft to get this analyzed.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3214394</link><pubDate>Wed, 18 Mar 2009 04:56:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3214394</guid><dc:creator>FLPF</dc:creator><description>&lt;p&gt;Dear Stefan,&lt;/p&gt;
&lt;p&gt; &amp;nbsp;Currently, We are testing our deployment program within one stand alone MOSS server (As export and import server). But we met below errors. Could you give advise? Many thanks!&lt;/p&gt;
&lt;p&gt;[3/18/2009 9:41:54 AM]: Progress: Importing File WorkflowTasks/NewForm.aspx.&lt;/p&gt;
&lt;p&gt;[3/18/2009 9:42:09 AM]: Progress: Importing List fpdatasources.&lt;/p&gt;
&lt;p&gt;[3/18/2009 9:42:10 AM]: Progress: Importing List List Template Gallery.&lt;/p&gt;
&lt;p&gt;[3/18/2009 9:42:11 AM]: Progress: Importing List Master Page Gallery.&lt;/p&gt;
&lt;p&gt;[3/18/2009 9:42:12 AM]: FatalError: Value does not fall within the expected range.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPFileCollection.get_Item(String urlOfFile)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.SPContentTypeCollection.Add(SPContentType contentType)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Deployment.ContentTypeSerializer.CreateContentType(SPContentType sourceContentType)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.SharePoint.Deployment.ContentTypeSerializer.ProcessContentType(SPContentType sourceContentType, String contentTypeXml, ImportObjectManager importObjectManager, Boolean IsParentSystemObject)&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Frankie&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3242005</link><pubDate>Sat, 16 May 2009 02:35:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3242005</guid><dc:creator>Soumyadev Bhattacharya</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;We were running a full content deployment between two farms, but while it was importing objects there was a connection loss between database and app servers which caused the job to go into running state.&lt;/p&gt;
&lt;p&gt;I have tried to restart the timer job on both the authoring and publishing farms, but it didn't helped. &lt;/p&gt;
&lt;p&gt;Can you suggest how to fix this.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Soumyadev&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3242736</link><pubDate>Mon, 18 May 2009 09:55:21 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3242736</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Soumyadev,&lt;/p&gt;
&lt;p&gt;on source and target please do the following:&lt;/p&gt;
&lt;p&gt;Open Central-Admin - Operations - Timer Job Status.&lt;/p&gt;
&lt;p&gt;Choose &amp;quot;Service&amp;quot; for the &amp;quot;View&amp;quot;&lt;/p&gt;
&lt;p&gt;Select &amp;quot;Central Administration&amp;quot; for the Service&lt;/p&gt;
&lt;p&gt;Can you find a Content Deployment timer job?&lt;/p&gt;
&lt;p&gt;If not, then the job is indeed no longer running.&lt;/p&gt;
&lt;p&gt;In this situation you can change the status to Failed manually to allow restart:&lt;/p&gt;
&lt;p&gt;Browse to &lt;a rel="nofollow" target="_new" href="http://central-admin-url/Lists/Content%20Deployment%20Jobs"&gt;http://central-admin-url/Lists/Content%20Deployment%20Jobs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;choose the list item related to the job that shows the incorrect status&lt;/p&gt;
&lt;p&gt;edit the job and change the &amp;quot;LastStatus&amp;quot; field to &amp;quot;2&amp;quot; which means Failed.&lt;/p&gt;
&lt;p&gt;Now you can restart the job manually using the manage content deployment paths and jobs page.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3251865</link><pubDate>Mon, 08 Jun 2009 15:48:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3251865</guid><dc:creator>Vincent</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;First of all thanks a lot for your great sharepoint articles.&lt;/p&gt;
&lt;p&gt;I've got a very annoying issue with content deployment.&lt;/p&gt;
&lt;p&gt;I'm using Content deployment to replicate publishing pages.&lt;/p&gt;
&lt;p&gt;I was hoping to benefit from &amp;quot;ExcludeDependencies = false&amp;quot; to retrieve images and such. But i'm starting to think that was not a good idea...&lt;/p&gt;
&lt;p&gt;I had a first issue with SummaryLinks dependencies not included in export. I fixed that exporting them with custom code then fixing Summary links after import.&lt;/p&gt;
&lt;p&gt;Now i have the *BIG* issue.&lt;/p&gt;
&lt;p&gt;Sometimes, didnt find why yet, while i'm exporting only one page, Content deployment include RootWeb as a dependency... 90 MB today on a test server, will surely become a lot more in production environment.&lt;/p&gt;
&lt;p&gt;Anyway what is the reason, RootWeb should never be exported (and hopefully because of a different destination template, the import fails)&lt;/p&gt;
&lt;p&gt;In fact i would like to exclude any SPWeb from export.&lt;/p&gt;
&lt;p&gt;But i found no way to control Dependencies export except with the ExcludeDependencies Flag...&lt;/p&gt;
&lt;p&gt;I've spent some time digging the API with reflector, sealed class and internal methods prevent me to override that bad behavior.&lt;/p&gt;
&lt;p&gt;I hope i missed something... Or i'll have to rewrite my code without Dependencies feature of Content Deployment = i will forget using Content deployment and probably some SPListem.Copy or worse custom Export / Import code (like OCD Export Page)...&lt;/p&gt;
&lt;p&gt;Thanks for your help and sorry for my english, which is not my native language... (hello from paris ;)&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3251874</link><pubDate>Mon, 08 Jun 2009 15:58:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3251874</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Vincent,&lt;/p&gt;
&lt;p&gt;the rootweb is vital for the publishing feature. &lt;/p&gt;
&lt;p&gt;It holds the page layouts, the reusable content, ...&lt;/p&gt;
&lt;p&gt;so every publishing page will have a dependency to at least the page layout in the root web.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3251903</link><pubDate>Mon, 08 Jun 2009 17:09:26 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3251903</guid><dc:creator>Vincent</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Of course RootWeb is vital, and 99% of times, content deployment dependencies mechanism only adds one master page or Page Layout in my export packages...&lt;/p&gt;
&lt;p&gt;But the last 1% brings the FULL RootWeb, i mean all Lists, masterpages and so on... which is not acceptable, since i bet the RootWeb will be growing fast in production and since i have many transfers to be done...&lt;/p&gt;
&lt;p&gt;I just want to copy only few pages... with the benefits of that dependency mechanism...&lt;/p&gt;
&lt;p&gt;Anyway, thanks a lot for your (very) fast answer.&lt;/p&gt;
&lt;p&gt;/me taking the &amp;quot;full custom code road&amp;quot;...&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3252397</link><pubDate>Tue, 09 Jun 2009 12:41:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3252397</guid><dc:creator>Vincent</dc:creator><description>&lt;p&gt;Me again, &lt;/p&gt;
&lt;p&gt;Since i cant control the exported objects by dependencies, could it be possible to control objects to import, i mean excluding them &amp;quot;on the fly&amp;quot;.&lt;/p&gt;
&lt;p&gt;Nothing found in SPImportSettings... (Would like to exlude all SPWebs)&lt;/p&gt;
&lt;p&gt;And on SPImport.Started, &amp;nbsp;SPIMportObjectCollection is not setable nor mutable...&lt;/p&gt;
&lt;p&gt;Some trick playing with SPImportObject.TargetParentUrl + ignoring errors maybe...? :/&lt;/p&gt;
&lt;p&gt;Vincent.&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3252924</link><pubDate>Wed, 10 Jun 2009 12:27:37 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3252924</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Vincent,&lt;/p&gt;
&lt;p&gt;you would need to modify the manifest file and remove the items you would like to exclude before starting the import.&lt;/p&gt;
&lt;p&gt;You could do this (e.g.) in the Started event handler. See part 4 for details.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3253542</link><pubDate>Thu, 11 Jun 2009 17:38:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3253542</guid><dc:creator>Vincent</dc:creator><description>&lt;p&gt;Thanks again for your answer stefan,&lt;/p&gt;
&lt;p&gt;That's what i will surely do soon... As a temp workaround.&lt;/p&gt;
&lt;p&gt;After studying my export 10MB (!) manifest file i come to the conclusion that ins ome cases, exporting one single page with dependencies brings not only the RootWeb but the full site collection...&lt;/p&gt;
&lt;p&gt;/me thinking of opening a case @ MS&lt;/p&gt;
&lt;p&gt;Vincent.&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3253805</link><pubDate>Fri, 12 Jun 2009 10:00:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3253805</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Vincent,&lt;/p&gt;
&lt;p&gt;a case might indeed be the best way to isolate this.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3255238</link><pubDate>Tue, 16 Jun 2009 06:47:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3255238</guid><dc:creator>David Bullock</dc:creator><description>&lt;p&gt;Hi Stefan, your blog here has saved me a few times - thanks for writing this good stuff (and even more for formalising with the Sharepoint product team).&lt;/p&gt;
&lt;p&gt;I'm interested in an incremental migration situation where various SPLists have had items modified or added, but the ExportChangeToken was not saved [1].&lt;/p&gt;
&lt;p&gt;Is it reasonable to use the GetChanges() method of a change-exportable object [2], locate the change of interest [3], and assign:&lt;/p&gt;
&lt;p&gt;anExportObject.ExportChangeToken = anSPChange.ChangeToken.toString() &lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;
&lt;p&gt;[1] In this case, the changes were made in an SPS 2003 database and the customer wants changes to be 're-migrated'&lt;/p&gt;
&lt;p&gt;[2] It puzzles me that SPList and SPListItem cannot be targets of an incremental export. &amp;nbsp;Do you have any insight as to why this is?&lt;/p&gt;
&lt;p&gt;[3] It would surely have helped if SPChangeQuery had properties for 'Before' and 'After' which took a DateTime instance.&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3255313</link><pubDate>Tue, 16 Jun 2009 10:49:59 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3255313</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi David,&lt;/p&gt;
&lt;p&gt;yes you can use this method to deploy from a specific change.&lt;/p&gt;
&lt;p&gt;[2] for a list item it does not make sense as the target has to be a container. Regarding the list: it was a design decision to have the granularity on SPWeb level. For lists you can achieve this using an event receiver as outlined in part 3&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3258768</link><pubDate>Fri, 26 Jun 2009 00:39:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3258768</guid><dc:creator>Riza Ture</dc:creator><description>&lt;p&gt;If two lists are not identical(different column names) and I performed copy list item operation via API and Sharepoint UI(Collabration Portal&amp;gt;content and structure). The columns (which does not exist at the destination) in the source list are ADDED TO THE DESTINATION LIST but EditItem.aspx pages seems like corrupted and only show the newly added columnns to use/edit. &lt;/p&gt;
&lt;p&gt;Is it a bug? or What is the logic behind that? &amp;nbsp;&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3270952</link><pubDate>Wed, 05 Aug 2009 22:58:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3270952</guid><dc:creator>Sara Tenenbaum</dc:creator><description>&lt;p&gt;Thanks so much for your help yesterday! One quick question - where in the manifest or any of the other files, can you change where the site will end? Also as a sub web I had to enter the name without the slash i.e. &amp;quot;Toolbox&amp;quot; is that common? Is it because its a sub-site and not a web?&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
&lt;p&gt;Sara&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3270965</link><pubDate>Thu, 06 Aug 2009 00:09:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3270965</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Sara,&lt;/p&gt;
&lt;p&gt;there is no end for the site. Each object is separate. There is no hierarchical ordering in the manifest file.&lt;/p&gt;
&lt;p&gt;Not sure what you mean with the slash.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3270970</link><pubDate>Thu, 06 Aug 2009 00:31:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3270970</guid><dc:creator>Sara Tenenbaum</dc:creator><description>&lt;p&gt;What I meant is, if there is a way to move the site to a different URL completely via the manifest. I saw your answer above, where you recommend the movement of objects, rather than the sites. &lt;/p&gt;
&lt;p&gt;Thanks :) (and cheers!!)&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3270974</link><pubDate>Thu, 06 Aug 2009 00:34:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3270974</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Sara,&lt;/p&gt;
&lt;p&gt;you would need to adjust the URL of the site and all included lists and items and so on.&lt;/p&gt;
&lt;p&gt;Its better to export the site as is and then import it at the desired location using the API properties.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3271717</link><pubDate>Sat, 08 Aug 2009 18:04:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3271717</guid><dc:creator>William Man</dc:creator><description>&lt;p&gt;Dear Stefan,&lt;/p&gt;
&lt;p&gt;I am using spexport/import such that I can simulate replication between 2 sites, (testing is current on a seperate sub-web).&lt;/p&gt;
&lt;p&gt;Export is all content within a spWeb, and the Initial Export where ExportAll is specified, and Import is successful. &amp;nbsp;(Identities not retained)&lt;/p&gt;
&lt;p&gt;The next export, only use ExportChanges, with the following changes,&lt;/p&gt;
&lt;p&gt;Add new list, with or without items: Import success&lt;/p&gt;
&lt;p&gt;Add item in an exisiting list: Failed to import, as the TargetParentUrl is wrong. &amp;nbsp;I attented to set this using the OnImportStarted Event, but i get an Invalid File error.&lt;/p&gt;
&lt;p&gt;In additional to this error, I noticed that when Retain Identities = false, Overwrite Changes does not work, &amp;nbsp;new items are added.&lt;/p&gt;
&lt;p&gt;Can you please advise whether using SPExport/Import is a feasible way to create a replication module. &amp;nbsp;Furthermore, is there anyway to access the serialised objects, such that I can deserialise manually from the objects?&lt;/p&gt;
&lt;p&gt;Many thanks in advance.&lt;/p&gt;
&lt;p&gt;William&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3271771</link><pubDate>Sun, 09 Aug 2009 02:14:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3271771</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi William,&lt;/p&gt;
&lt;p&gt;please read all the other parts of this series. It answers the questions you raised.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3272068</link><pubDate>Mon, 10 Aug 2009 15:14:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3272068</guid><dc:creator>William Man</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Many thanks for your reply. &amp;nbsp;Am I correct in reading that there isn't really a solution to resolve the Overwrite migrate issues when Retain Identities = false, other than setting this to true. &amp;nbsp;But for this, guid/names must be unique.&lt;/p&gt;
&lt;p&gt;And if objects need to be different in location for migtation, another tool needs to be written. &amp;nbsp;I'd already thought of this, but would rather not do it that way. &amp;nbsp;Just hoped there was something in the API would could be used, or rather we could access the serialised objects and re-write part of the api.&lt;/p&gt;
&lt;p&gt;Many thanks for your reply.&lt;/p&gt;
&lt;p&gt;William&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3272079</link><pubDate>Mon, 10 Aug 2009 15:45:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3272079</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi William,&lt;/p&gt;
&lt;p&gt;that is correct. If overwrite is required you have to use RetainObjectIdentity as this is the only method that allows checking if the identical item already exists and has to be replaced or not.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3282220</link><pubDate>Mon, 21 Sep 2009 10:17:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3282220</guid><dc:creator>Vijay Agarwal</dc:creator><description>&lt;p&gt;Hi Stefan, &lt;/p&gt;
&lt;p&gt;I am in a problem. In my scenario, I want to export all sharepoint groups, users and permissions. I can export them if I am exporting and importing complete site collection but if I am attempting to export only one list in a site then sharepoint groups and users are exported and imported but the permissions of them are not exported which will eventually cause them to fail. &lt;/p&gt;
&lt;p&gt;My requirement is so that i want to export one list(or limited number of items but not complete site) only and all the Sharepoint groups, users and permissions should be exported and imported with that. &lt;/p&gt;
&lt;p&gt;Any help is highly appreciated. &lt;/p&gt;
&lt;p&gt;Thanks, &lt;/p&gt;
&lt;p&gt;Vijay&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3282806</link><pubDate>Thu, 24 Sep 2009 01:12:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3282806</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Vijay,&lt;/p&gt;
&lt;p&gt;with the hotfix level available this is not possible.&lt;/p&gt;
&lt;p&gt;A fix to get this working is currently being investigated.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3293258</link><pubDate>Thu, 12 Nov 2009 01:33:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3293258</guid><dc:creator>Sham</dc:creator><description>&lt;p&gt;I have a master list and an archive list; is there a way of moving an item from the master list to the archive list and maintain the same item ID in the archive list. I need to keep the same item ID as this is the primary key for task items related to the master item.&lt;/p&gt;</description></item><item><title>re: Deep Dive into the SharePoint Content Deployment and Migration API - Part 2</title><link>http://blogs.technet.com/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-2.aspx#3293290</link><pubDate>Thu, 12 Nov 2009 07:32:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3293290</guid><dc:creator>Stefan_Gossner</dc:creator><description>&lt;p&gt;Hi Sham,&lt;/p&gt;
&lt;p&gt;no that is not possible. I would recommend to use a custom field to store the information that should be persisted.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
</description></item></channel></rss>