Hello,
We are trying to separate all the business logic from our image. At this moment, we are creating the needed sites through bootstraping. We would like to make this external.
I've extracted our created site through this endpoint: http://localhost:8082/alfresco/s/api/sites/our-site/export
This exports a zip file which contains the our-site.xml with all the folders and rules created until now.
We would like to upload this xml file, through some rest api possibly, into a clean alfresco installation and make the site available with all the configuration provided.
Something like this with the content model: https://hub.alfresco.com/t5/alfresco-content-services-forum/register-custom-content-model-using-rest...
Would this be something achievable? If not, can you advise?
Thanks in advance,
Francisco Duarte
You can try out https://github.com/abhinavmishra14/alfresco-share-import-export/tree/sdk4.1.
Personally, I have not tried.
I will give it a try. thanks
Hello,
I tried this and it actually worked. All the folder and respective rules were created in the documentLibrary from the site I have created imeddiately before.
But now I have a different problem. I have one folder which has one rule triggered when a file enters that same folder. I know that rule is being triggered because a can see the logs from my custom code.
But in the end, I get a nodeRef not found error and the rule does nothing. Now, I'm sure the rule exists because what I said before and I can see the rule in Share, with that same UUID in the error which supposedly does not exists.
Here is the stacktrace: https://pastebin.com/SH3LpAFi
I do not understand what's happening. Could you help?
Best regards,
Francisco Duarte
I was doing something wrong. It is working now.
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.