How to build a package with last modified content

evgenyb81780887 01-12-2018

Hello everyone is there a way how I can build package only with files and folders which were "last modified"? is it possible to use regular expression?

Accepted Solutions (1)

Accepted Solutions (1)

Jörg_Hoh
Employee
02-12-2018

Well, technically you can build the content package definition just using the HTTP interface of AEM. But that comes with a  lot of overhead and probably isn't very nice to build. I would recommend the logic into a bundle (probably using Java) and  then running everything from inside AEM.

Jörg

Answers (5)

Answers (5)

Jörg_Hoh
Employee
02-12-2018

There is no standard function or API available for this specific usecase, you have to implement it yourself; Arun already provided a link which gives some hints how the standard APIs can be used (not exactly covering your usecase, but you use it to understand the API).

Jörg

Jörg_Hoh
Employee
03-12-2018

there should be a "jcr:lastModified" property available, which is also exposed with the default JSON rendition (if not overlayed).

evgenyb81780887 02-12-2018

Well, the problem that I don't know Java and I am not familiar with AEM. My question is if I can find modified content cuz I don't see that AEM marks it somehow , I observe jcr:created but I don't see  modified