I need to create a report for deleted pages and assets. I have used acs-commons report builder tool to generate different kinds of reports in AEM, but I would need to generate report for deleted content also.
I am not sure if this is the best way , but one thing you can do is to listen to a deletion action and write the details to a log. If log is enough for your requirement . It might be process heavy as when you trigger a deletion in bulk , it might slow down the system . I am also curious to know of something better . Hope the community has some better answers 🙂
Since you are looking for some author friendly report, how about saving the resource details to a node every time a deletion happens ? Later you can fetch the values from this node when you need it