In this URL https://docs.alfresco.com/5.2/concepts/bulk-import-programmatically.html
There is code as shown below
UserTransaction txn = transactionService.getUserTransaction(); txn.begin(); AuthenticationUtil.setRunAsUser("admin"); StreamingNodeImporterFactory streamingNodeImporterFactory = (StreamingNodeImporterFactory)ctx.getBean("streamingNodeImporterFactory"); NodeImporter nodeImporter = streamingNodeImporterFactory.getNodeImporter(new File("importdirectory")); BulkImportParameters bulkImportParameters = new BulkImportParameters(); bulkImportParameters.setTarget(folderNode); bulkImportParameters.setReplaceExisting(true); bulkImportParameters.setBatchSize(40); bulkImportParameters.setNumThreads(4); bulkImporter.bulkImport(bulkImportParameters, nodeImporter); txn.commit();
I think there is an assumption that one must know certain things before arriving to this page.
I would like to develop a java utility to do the import with respect to our migration from Documentum.
I am trying to find what SDK to download or something along the line.
Consider using bulk import tool, see documentation here: https://docs.alfresco.com/5.2/concepts/Bulk-Import-Tool.html
Also look at this documentation and bulk import tool which is customized version of Alfresco's built-in mechanism: https://hub.alfresco.com/t5/alfresco-content-services-hub/bulk-importer/ba-p/289507
https://github.com/pmonks/alfresco-bulk-import
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.