Hi, I have an experience fragment on a page and I need to strip the containing <div class="cmp-container"... and <div class="header"... I saw a post on here about adding a resourceType to strip the added containers and this worked perfectly for static components but I'm having issues figuring ou...
Hi All, I have a query which gives suggestions as a result. This works fine in my local instance but works partially in dev/qa environment. Eg. If I search "Sol" it gives me many results but if the same code is deployed to dev it doesn't gives any results. All the content and code is same but this q...
Hi All, Is there a way to check if a resource exists using JS without getting 404? I am unable to find any library which does this job. I am using clientside JS. For example : I am using $.getJSON() but it does throw 404 in console logs, if its an invalid resource Kindly let me know the best sol...
I am trying to put a condition in my code to check if given workitem ( in my custom workflow ) which is adapted in "resource" is whether content fragment or not. I am not getting any specific method to do so. For this I need to traverse to its jcr:cotnent and then check the property "content frag...
How do I write a case insensitive query in AEM ? For example we want to fetch pages based on the jcr:title of a page and the actual jcr:title value is "Page 2", but the user searches for "paGe 2" and in this case we don't get any results. But I want to fetch the page with jcr:title "Page 2" . How do...
Hi, I have created editable templates with the help of an HTML5 template and tried to create a page, but the template is not showing on the granite UI. I have added `cq:allowedTemplates` to the page properties as well but still not facing the same issue. Please help me resolve it. Thanks
currently, our 50 or so AEM users login with our domain (e.g. john.smith@ourdomain.com) using the built in Adobe ID system. our organisation uses jumpcloud for all our SSO. We now want to migrate from the adobe auth to our auth. We understand we have to add a new directory for SAML, then to tha...
I have a requirement to show some Specific content of the experience Fragment on a page if it is in edit mode and the experience fragment should be hidden in preview/publish mode. While using wcmmode.edit, i am getting the value as false at both edit and publish mode for the component authored as ex...
Hi, As part of the requirement we have written a workflow which will automatically create the page version as soon as page content is changed/edited. Now the versions are getting created but the issue is 1)Preview is not working 2) Compare version is not working....but revert to the previous version...