06-26-2020 09:18 AM
Hi,
Designing a tree structure design where we have a parent folder let assume folder with name ABC and node id is abcd.
Task I need to perform is to create a runtime folder with name A1 inside ABC and need to upload doc inside it.
We are unable to do this scenario with a single rest call currently we are invoking one rest call for folder creation and second for upload doc inside it. Can anyone help me with this? So I can create a folder and upload doc inside it in a single rest call.
06-29-2020 02:27 PM
If the REST API doesn't do what you need it to do, write your own web script to handle this logic. Your custom web script can check for the presence of the folder, create it if it is not there, and then persist the POST'ed file to the folder.
Explore our Alfresco products with the links below. Use labels to filter content by product module.