No sooner did I post this that I saw one of our developers had added their own verison of jquery to the main clientlib our page component overlay uses. Commenting out the inclusion of this jquery library resolved the issue. I'm going to guess there was a conflict between the jquery that ships with...
The above is OOTB AEM code that is breaking and preventing subsequent AEM code from firing that I need. It's happening in the Page Properties dialog for our homepage. I'm going to keep looking into this but wanted to see if anyone else had encountered this on the latest AEM as a Cloud Service buil...
I have an Adaptive Form and I'd like to make a given field required via JavaScript. I have tried the following:field.mandatory = "error"field.mandatory = "true"field.mandatory = truefield.required = "error"field.required = trueI have also tried all of the above together with field.validationsDisabl...
A couple things:I highly recommend not using SQL2 directly like this and instead using QueryBuilder. In your case, the path and property predicates can be used as follows:path=/etc/commerce/nicephore/catalog/MSegmentproperty=cnp:typeproperty.value=ParfumsAs a sanity check, install ACS Tools on your...
Dynamic Media is installed and runmode is set. I have the option to create both in the Create menu of the Assets UI but when attempting to add assets to the spin set or mixed media set, no assets are added. It allows me to select the assets and click "Select":But after clicking Select, no assets a...
To get a listing of all the unique components used through a site you can use the component lister that comes with ACS Commons (or it's in a service pack - I don't recall). If you need to do it programmatically, then you can use QueryBuilder to query for all cq:Component instances starting at a roo...
The order in which QueryBuilder returns results cannot be guaranteed but you could use the path of one of those components to resolve the parent via a ResourceResolver and call listChildren() (Resource (Apache Sling (Builder) 6 API)) on that parent resource. This should give you back the component ...