I was looking throw the reference project, and couldn't see where they store their templates. Does anyone know?https://github.com/Adobe-Marketing-Cloud/aem-sample-we-retail/tree/master/ui.apps/src/main/content/jcr_root/apps/we-retail/components
praveenk9004043 wrote... This issue was resolved long back I deleted all the index from the below folder path and i was able to start by author instance. crx-quickstart\repository\index Sorry to bump this, but you saved me hour of frustration. This solved my issue. Thank you!
Feike Visser wrote...This is a much easier way, without changing permissions:page.getProperties().get("cq:template","")best,Feike Found this response in a different thread. Much better solution, and doesn't involve editing permissions.
HiI know business logic in JSPs is bad, but I need to come up with a solution quickly with how the codebase was setup. Anyways, I wanted to execute code only on a certain template so I'm using currentPage.getTemplate().getTitle().equals("SomeTemplate") I could provide code context but I think its mo...
We give all our news items/pages a date field through the Page Properties dialog. This xtype is datefield. So I can configure it to be MM-DD-YYYY or DD-MM-YYYY, etc. My question is how can I use the JCR SQL query language to order my query by this date field. I'm using ORDER BY datePosted DESCCurren...
Is there any way to retrieve a page's number in AEM? See screenshot for example. I hope use this built numbering system as way for authors to manually order content.
Hi all,I'm working on a popup component that lets lets the AEM Author input a integer to determine how long the popup should be active before it fades out. I'm able to return the integer in HTML using <p>Duration: ${comp.timeout} seconds</p>But as soon as I call it Javascriptwindow.setTimeout(closeP...