As you are using Use API, which is actually converted into JAVA instead of loading as a JS in a browser, you have to use JAVA object to log the information. Below code is working fine on my local.
log.info("Using USE API");
Also this log will be generated in server log files instead of browser conso...
You can download older AEM version specific documents from Software Center and install it on your local AEM instance as per this documentation.
https://experienceleague.adobe.com/docs/experience-manager-release-information/aem-release-updates/previous-updates/aem-previous-versions.html
@goonmanian-gooner You can use “extraClientlibs” property on the dialog to load a clientlibs applicable only for it. You can add your custom logic in this clientlibs.There are few things that you need to take care of when using extraClientlibs :
1. DO not include every custom JS client library into...
You can write query on component resourceType and get count for various scenario. For example I did for list component which is configured either for Child pages or Static pages.
Use case 1 : static pages
path=/content/we-retail
1_property=sling:resourceType
1_property.value=weretail/components/cont...
@R_R_P I see you are referring 2 different artifacts. Core Components artifact and Core Component Examples artifacts are different. Below dependencies work fine. Please check.
<!-- Core Components -->
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.core</artifactId>
...
I have faced similar use case but in my case Tags were getting removed from cq:tags property if the tags does not exist in the repository(/content/cq:tags). This was happening only with OOTB cq:tags property but not with the other custom tag based property.
So it looks like your content is still tag...
@goonmanian-gooner Basically if the OOTB model of core component is not providing you the functionality as per your requirement, you can override it using delegation pattern.
Refer this link which explains the concept nicely
https://levelup.gitconnected.com/aem-extend-core-component-models-using-re...
In code you can write a check if customProperty exist or not and based on that you can create different query.
I gave today's date in daterange.lowerbound you can update dynamically in the code. You can also explore relativedaterange if above query does not fit for your requirement.
https://hashimkh...
You can use dateComparison Predicate to compare 2 JCR Date.
Link : https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/query-builder/querybuilder-predicate-reference.html?lang=en#datecomparison
This query should help in your case. You can replace cq:lastModified with...