<?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 Bulk import  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/bulk-import/m-p/64313#M21919</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I want to integrate the functionnality of Bulk import tool into my Java code Client CMIS using openCMIS library, is there any way to do so ? The goal is to do an import to alfresco automatically and without using the bulk import tool UI I found this code&amp;nbsp; :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3 style="color: #727174; background-color: #ffffff; border: 0px; font-weight: 600; font-size: 18px;"&gt;Streaming&lt;/H3&gt;&lt;P&gt;&lt;BR /&gt;UserTransaction txn = transactionService.getUserTransaction();&lt;/P&gt;&lt;P&gt;txn.begin();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;AuthenticationUtil.setRunAsUser('admin');&lt;/P&gt;&lt;P&gt;StreamingNodeImporterFactory streamingNodeImporterFactory = (StreamingNodeImporterFactory)ctx.getBean('streamingNodeImporterFactory');&lt;BR /&gt;NodeImporter nodeImporter = streamingNodeImporterFactory.getNodeImporter(new File('importdirectory'));&lt;BR /&gt;BulkImportParameters bulkImportParameters = new BulkImportParameters();&lt;/P&gt;&lt;P&gt;bulkImportParameters.setTarget(folderNode);&lt;BR /&gt;bulkImportParameters.setReplaceExisting(true);&lt;BR /&gt;bulkImportParameters.setBatchSize(40);&lt;/P&gt;&lt;P&gt;bulkImportParameters.setNumThreads(4);&lt;BR /&gt;bulkImporter.bulkImport(bulkImportParameters, nodeImporter);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;txn.commit();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I didn't found any library that provides classes implemented in this code, so I can use them in my code.&lt;/P&gt;&lt;P&gt;If someone please can help me. Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2018 10:18:53 GMT</pubDate>
    <dc:creator>progm</dc:creator>
    <dc:date>2018-02-09T10:18:53Z</dc:date>
    <item>
      <title>Bulk import</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bulk-import/m-p/64313#M21919</link>
      <description>Hello everyone,I want to integrate the functionnality of Bulk import tool into my Java code Client CMIS using openCMIS library, is there any way to do so ? The goal is to do an import to alfresco automatically and without using the bulk import tool UI I found this code&amp;nbsp; :&amp;nbsp;StreamingUserTransaction tx</description>
      <pubDate>Fri, 09 Feb 2018 10:18:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bulk-import/m-p/64313#M21919</guid>
      <dc:creator>progm</dc:creator>
      <dc:date>2018-02-09T10:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk import</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bulk-import/m-p/64314#M21920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can please someone help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 15:42:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bulk-import/m-p/64314#M21920</guid>
      <dc:creator>progm</dc:creator>
      <dc:date>2018-02-09T15:42:10Z</dc:date>
    </item>
  </channel>
</rss>

