Can you please update your code using if else condition as using try catch wont work.public String getPublishedDate() { String dates = ""; ValueMap pageProperties = currentPage.getProperties(); if(null != pageProperties.get(NameConstants.PN_PAGE_LAST_REPLICATED)) { Date lastReplicated = ...
If you are trying to update the property through code please add the below snippet in your /content/_cq_tags/.content.xml. Below snippet contains only the OOTB available languages. languages="[en,de,es,fr,it,pt_br,zh_cn,zh_tw,ja,ko_kr]"
@aem_noob can you please check whether your template is following all the required configurations mentioned in https://experienceleague.adobe.com/en/docs/experience-manager-65/content/sites/administering/operations/notification#email-templates-for-workflow-notification if it possible can you please...
@Aaron_Dempwolff , You can inject current page object in your slingmodel as shown below. @ScriptVariable private Page currentPage;In the method ValueMap pageProperties = currentPage.getProperties();Date lastReplicated = pageProperties.get(NameConstants.PN_PAGE_LAST_REPLICATED, Date.class) Hope this ...
Hi @aem_noob , Are you using any customized email template or OOTB email template. If you are using customized template please check the template structure. Please refer for more details on email templates,https://medium.com/@toimrank/aem-email-custom-template-style-and-attachment-d4c0a196ec98https:...
Hi @PraveenaTh , Please make sure you are using latest version of Junit and mockito dependencies.MockedStatic was introduced in mockito 3.4.3. If your mockito version is previous version of that it won't work. Please try with below,<dependency> <groupId>org.junit.jupiter</groupId> <artifactId>...
Hi @testUserMe , Yes you can create simple forms without using AEM Forms, refer below on how to use and create simple Aem forms using OOTB form components. https://experienceleague.adobe.com/en/docs/experience-manager-core-components/using/wcm-components/forms/form-containerhttps://www.aemcomponents...