Expand my Community achievements bar.

Sort
  • Most recent
  • Most views
  • Most likes
  • Most replies
  • Oldest First
Filter
  • All
  • Resolved
  • Unresolved
  • Zero replies

  • 5/10/23
    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...

    Views

    658

    Likes

    0

    Replies

    3
  • 5/10/23
    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 ...

    Views

    737

    Likes

    0

    Replies

    1
  • 5/10/23
    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 ...

    Views

    668

    Likes

    0

    Replies

    2
  • 5/10/23
    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=...

    Views

    2.3K

    Likes

    0

    Replies

    4
  • 5/10/23
    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 ...

    Views

    1.0K

    Likes

    0

    Replies

    2
  • 5/10/23
    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...

    Views

    455

    Likes

    0

    Replies

    2
  • 5/10/23
    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...

    Views

    1.9K

    Like

    1

    Replies

    2
  • 5/9/23
    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...

    Views

    1.1K

    Likes

    0

    Replies

    2
  • 5/9/23
    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?  

    Views

    1.1K

    Likes

    0

    Replies

    2
  • 5/9/23
    I am currently trying to add the options within my sites Page properties -> Advanced Tab where it allows the user to define robots tags as well as the checkbox for generating a sitemap. Right now my templates do not have these options anywhere and I want to add these to my template dialog so I can u...

    Views

    973

    Likes

    0

    Replies

    2