In error.log:11.05.2023 14:00:32.043 *ERROR* [[0:0:0:0:0:0:0:1] [1683793832002] GET /editor.html/content/testing.html HTTP/1.1] com.adobe.cq.msm.ui.servlet.IsSourceRenderCondition path /content/testing.html to check render condition is not valid 11.05.2023 14:14:45.117 *ERROR* [[0:0:0:0:0:0:0:1] [1...
Hi I am trying to create a config factory. Below are the three classes I have created public interface OSGiConfig {String getServiceUrl();} ===================================== import org.osgi.service.metatype.annotations.AttributeDefinition;import org.osgi.service.metatype.annotations.ObjectClassD...
How to select multiple fields in a JCR-SQL2 query like such: SELECT page.[jcr:created], page.[jcr:createdBy], page.[jcr:primaryType] FROM [cq:Page] AS pageINNER JOIN [nt:base] AS component ON ISDESCENDANTNODE(component, page)WHERE component.[sling:resourceType] = '/libs/fd/af/components/aemform'AND ...
I am trying to make a few page properties field read-only for a select group of users under a group.I can show/hide those fields based on the Granite Render Condition, but my requirement is to show the fields in a disabled way. I can do it via a JS and then fire a servlet to determine the group and ...
Hi All, Is there a way to increment an integer within a sightly block? I like to convert the JSP code to Sightly, but it looks like Sightly lacks the capability of incrementing. Here's what I like to achieve: JSP:<c:set var="counter" value="1"/><c:set var="blockOpen" value="false"/><c:forEach items=...
Hi All,I need to check the number of Queues in replicationQueue before proceeding the activate or deactivate in a workflow if the number of queue in replication will be greater than 50 then it shoud not allow to trigger the workflow , how can I approach this? @Override public void execute (WorkItem ...
Hi, I'm wondering what the best practices are when dealing with translation of internal links (content paths) in page content.E.g. translation from NL to FR > /content/www-site-be/NL/page > /content/www-site-be/FR/page We noticed that the language copy (create structure only) workflow updates the c...
Hi All, We have a requirement to send AEM Inbox notifications in custom AEM workflow process step. In this custom workflow process, we are reading a file and creating pages by reading the data of that file. We need to send different Inbox notification messages based on different conditions. So, I a...
When referencing the AEM Query Builder Cheat Sheet, I am noticing that the fulltext relPath is referencing `jcr:content/@cq:tags`. However, on the same page, there are references to `jcr:content/cq:tags`, and I feel like I've seen `@jcr:content/cq:tags` in other places. What is the correct usage he...
Normally, in web development, it is best practice to use classes on html elements and id's are rarely used. At my organization, seems like id's are being put on authored components a lot and that is used for adding style changes. Is this bad practice or is this regular practice in aem?