Hello. I have a collection of clinical trials organized into differnt case files. Each case files have a different or unique folder structure that is described in a xml file specific for that case. I am using the latest Alfresco Community Edition 2018.
What I want to do is to auto generate each case folder structure using its unique xml file as it is being imported into our SHARE respository. Since I am still new to using Alfresco, is there a way or tool that can autogenerate a unique folder structure for each case in SHARE? Please let me know. Thank youj.
You can use any api to read the xml file and create the folder structure as per the xml file.For creating folder/files from xml.
Folder/Files are called nodes in alfresco.For each node there is a type associated with it, for example folder,content(file),invoice document or salary slip document etc...
To create any of above you can use javascript/java api.
Javascript : JavaScript API | Alfresco Documentation
If you are using java you can use nodeService to create nodes.
You need to create one webscript/custom actions.This webscript will read the xml and generate the folders/files as per the xml.For how to creat webscript you can read below article.
Just to add to your answer, the following addon can provide some really useful ideas:
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.