AnsweredAssumed Answered

Alfresco data patch

Question asked by shanks on Aug 4, 2017
Latest reply on Aug 17, 2017 by shanks

I want to create data patch for alfresco. This data patch will have 2 operations

  1. Export data patch : Select the folder from where the user wants to export the patch (All children of that folder along with their properties in xml file will be bundled inside zip).
  2. Import the patch :  Select the folder (or the exported patch will have some information regarding how and from where the patch has to executed) and upload the patch file and patch should get executed.


Now I know that while repository bootstrap I can import a site / folder like the one documented here , There is one add on for exporting  / importing data in form of .acp extension but that is not the way I want my patch to work.


So basically I want my patch to work the same way svn or git works (delete folders / files, update files, create new files and update properties)


What would be the best way to achieve this ?