Category "aem"

AEM - Refresh datasource after granite field change

I am trying to figure out how to refresh a granite data source for a select field from a pathfield that I will like to also pass into the data source. Basically

error message "zip file not a content folder, missing jcr_root"

Getting the error message "zip file not a content folder, missing jcr_root" while i am trying to upload a package in package manager console of AEM, thou

AEM JCR SQL2 query to find all pages contains specific component

I wish to build a sql2 jcr query to find all pages under /content that contains this component, e.g /apps/platform/aem-core/components/content/form/form I read

AEM TagField No Child

I want to use tag field and Im using the resourceType /libs/cq/gui/components/coral/common/form/tagfield is there a way that I can only show level 1 tag and not

How to introduce additional fields with default values in AEM Touch UI dialogs?

Situation: We have an AEM 6.4 Touch UI dialog and a number of existing component instances that were created through this dialog. Now we want to add an additi

Run time variable is not resolved inside style element

I am trying to provide the background image to a div by creating a variable in sightly. <sly data-sly-test.file="${properties.image}" /> <div style="ba

AEM Configuration

Configurations are applied to an AEM instance based on run modes. How AEM determines the config file to be picked in case of multiple runmodes and multiple co

Placing a component inside of another in AEM 6.5.11

In HTL it is possible to insert a component inside of another componet by using <sly data-sly-resource="${ @path=somePath, resourceType='path/to/other/compon

Pass data to sling model

Is it possible to pass a string or data that is retrieved in an Ajax call to sightly html? I have a 3rd party response in Ajax but I am trying to make the html

Difference between currentstyle and currentdesign in AEM

In AEM speak - what is the exact conceptual difference between between currentstyle and currentdesign objects available after including the tag in template / c

Using AEM sling rewriter to replace one string in html with another

I am new to using Sling rewriter however I would like to replace all instances of one string with another string (this is a simplified version of my use case bu

AEM/CQ5 : Hide node from the sidekick menu

I have a template node that I want to be active (cannot delete it), I just don't want it to be displayed in the siteadmin left menu. I've tried sling:hideChild

How to apply aggregate functions(like MIN, MAX, COUNT) in JCR-SQL2?

I have some records stored as Nodes in JCR and the name of the node is the primary key. eg 1,2,3. But the problem starts here, the records are as follows 1,2,6

Reverse Replication working when I freshly add cq:distribute prop

I am trying to demonstrate basic reverse replication on AEM 6.5.10. Created a new reverse replication agent in author which works fine. Created a servlet to mod