Groovy script to insert jcr:Content node at folder level
Hi, after running Best Practices Analyzer tool, we have found lot of issues with " is missing mandatory 'jcr:content' child node." in some of our folders. how to fix this issue? i know a groovy script can be used, but any other ways?
with groovy script can we insert an empty jcr:content node to fix the issue? if yes, any code snipped to help achieve this?
thank
I went through https://github.com/hashimkhan786/aem-groovy-scripts , but couldn't find any script to help in the direction iam looking for