Check out the ACS Common Junit code: https://github.com/adobe/aem-core-wcm-components/tree/39bd02462b1ac7b8bd48e3033964ad39f8038b14/testing/junit/core/src/main/java/com/adobe/cq/wcm/core/components/testing .This will give you an idea of how to write Junit test cases in AEM.
Checkout https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/update-component-node-using-groovy-script-in-aem/m-p/381048 for updating property using groovy.
Can you change the configuration to run every 9:30 am and delete the package age of 1 day to see if the utility is working:<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OsgiConfig"
scheduler="0 30 9 ? *...
There are a lot of different methods to find tags:https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/day/cq/tagging/TagManager.html
Can you check https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-spa-react-dispatcher-setup/td-p/383861 for dispatcher setup with AEM SPA project.Also, check AEM and dispatcher logs to see any error.
Hi, My name is Varun Rawat and I’m working as a Technical Architect at 3|Share Canada. I’m working on AEM for the last 12 years. My favourite feature is Content & Experience Fragments as it allows you to reuse content across multiple channels.
You can use https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/day/text/csv/Csv.html to write a custom code to merge csv.