<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can I transfer all data from User A to User B in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-transfer-all-data-from-user-a-to-user-b/m-p/303605#M256735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okey, I have need to migrate/transfer all User A data (like documents, links, discussions) to User B. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;User A is disabled, and he can't access to his data, share sites, documents, anything…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any tool to do this. All history and metadata of f.ex documents should be preserved still.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can't risk, that something is lost, when User A is disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some similar kind of software like Alfresco, have features like "Transfer"….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 14:48:46 GMT</pubDate>
    <dc:creator>luupaa</dc:creator>
    <dc:date>2014-02-20T14:48:46Z</dc:date>
    <item>
      <title>How can I transfer all data from User A to User B</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-transfer-all-data-from-user-a-to-user-b/m-p/303605#M256735</link>
      <description>Okey, I have need to migrate/transfer all User A data (like documents, links, discussions) to User B. User A is disabled, and he can't access to his data, share sites, documents, anything…Is there any tool to do this. All history and metadata of f.ex documents should be preserved still.But I can't r</description>
      <pubDate>Thu, 20 Feb 2014 14:48:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-transfer-all-data-from-user-a-to-user-b/m-p/303605#M256735</guid>
      <dc:creator>luupaa</dc:creator>
      <dc:date>2014-02-20T14:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: How can I transfer all data from User A to User B</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-transfer-all-data-from-user-a-to-user-b/m-p/303606#M256736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I do not think that there is a tool to do it, but you can search for third party extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do not find anything, you can use some custom code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The code below is an example of what you need to do. The code should be executed by an administrator.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try it using the javascript console in Share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Be careful that if there are too many documents created by "usera", this solution could fail or could update only the first 1000 documents: the lucene query does not return more than 1000 documents by default. If the server is slow, the javascript console can time out and rollback all the changes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If only 1000 documents have been updated, you can of course execute the script again until all the documents are updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the update fails, reduce the max number of documents that can be updated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A better solution would be to implement this code in java as a custom action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var nodes = search.luceneSearch('@cm\\:creator:"usera"');&lt;BR /&gt;&lt;BR /&gt;for (var i in nodes) {&lt;BR /&gt;&amp;nbsp; var node = nodes&lt;EM&gt;;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; node.addAspect("cm:ownable");&lt;BR /&gt;&amp;nbsp; node.properties["cm:owner"] = "userb";&lt;BR /&gt;&amp;nbsp; node.save();&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 15:35:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-transfer-all-data-from-user-a-to-user-b/m-p/303606#M256736</guid>
      <dc:creator>marco_altieri</dc:creator>
      <dc:date>2014-02-20T15:35:07Z</dc:date>
    </item>
  </channel>
</rss>

