04-01-2020 05:15 AM
Hi,
My requirement is to copy folders containg subfolders/files from local system to alfresco repository using any api/service . I am not geeting how to do this .Please suggest and kindly share the reference url.
04-01-2020 07:15 AM
Hi @Isha,
If you are using Enterprise, have you looked at the Enterprise Bulk Importer tool? There is the Community Bulk Import Tool. There is also this tool.
HTH,
04-01-2020 07:15 AM
Hi @Isha,
If you are using Enterprise, have you looked at the Enterprise Bulk Importer tool? There is the Community Bulk Import Tool. There is also this tool.
HTH,
04-01-2020 08:06 AM
We already explored this option but it requires manual intervention and it is for one time activity.our use case is different which is explained below:
We are in process to integrate two systems and we will be getting files from source systems . we need to checkin those files in alfresco (create folder->file).
This will be a automated process hence we need some API's - any approach by which programmatically we can attach / checkin those files in folder.we already have developed a code to create folders and we would like to extend it.
04-01-2020 08:33 AM
Hi @Isha,
To be fair, "on call" is hardly automation, since it implies some type of intervention. Are you saying you want a script that when in Admin you can point at a different file system (on another machine, etc) and then enter a destination folder within ACS, & "click" copy? The result would be all child folders and documents would be copied into the ACS repository, keeping the same structure, etc? Well, if that's the case, then that's what the Bulk Import does using this http://localhost/alfresco/service/bulkfsimport UI. You can invoke a webscript to kick off an import by calling http://localhost:8080/alfresco/service/bulkfsimport/initiate.
Or am I missing something?
04-01-2020 08:54 AM
To further detail down the use case :
From source system we will be creating and sending package , that package contains files (xyz.zip and xyz.csv) . Now we wil be calling alfresco webservices and would look to execute following steps:
1) Create system folder xyz(same name as file name 😞 For this we have api's filefolderservice.createfolder() .
2) Attach files to system folder xyz: for this we need help.
This will be repetitive process and mujltiple users(non-admin) will execute this from the source system.
Hence we are looking for some API's for this.Hope you got me.
Thanks.
Explore our Alfresco products with the links below. Use labels to filter content by product module.