I have written sling model exporter . I need to call this by passing 2 parameters fileReference & imgParam<sly data-sly-use.slingmodel="com.myproj.core.models.TestSlingModel" @ fileReference ='/some/path/to/file' , @ imgParam='image'/> In sling model (@Model(adaptables = {Resource.class, SlingHttpS...
I'm using AEM 6.5.I want to get the start date as a result when was the last time the particular workflow is subjected using aem query builder.https://author.test.com/libs/cq/search/content/querydebug.htmlI tried multiple queries which was not giving the result needed for me. I mean the last time th...
Hello Adobe Community,AEM 6.5 We have a strange problem regarding targeting on the page. We have default audince and custom named, e.g. Custom Audience.The problem is that components aren't allowed to insert in targetparsys, drag and drop them, but everything is okay in default audience.Custom audie...
Hello Guys, Has Anyone already used the breadcrumb customized on SPA? I am trying to use it but it is with a problem. It is always showing the last page created on the same level from the actual page. Example: Page -> Page 1 -> Page 2 Page 3 -> Page 4 In the breadcrumb on Page 2 is show...
I have create a custom RTE component with my own set of plugins in AEM 6.3. It works when used on a page.Now I have a requirement top use text component in dialog where I want reuse my RTE componentReferred this blog for using default text component.I tried to use my component by writing the below c...
Hi, We have a requirement to listen on the node additions in a particular jcr path and do some processing on the added nodes by calling our custom java code whenever an event happens. The scenario is like, say a node is added in AEM, the listener listens on the event and calls custom java code to do...
Hello Community - I am facing some issues with obtaining the run modes in Sling Model. Can someone tell mw what is wrong in this? @Model(adaptables = { SlingHttpServletRequest.class,Resource.class }, defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL)public class TestData {private String r...
Environment: Linux Mint 18.2 'Sofia', KDE 64. Java 11.0.8, AEM 6.5, Local instance. Eclipse 4.15.0 (2020-03)Problem:While importing WKND Maven Project to Eclipse I am getting an error "The set of natures is not valid. Nature does not exist: org.eclipse.wst.jsdt.core.jsNature."Any proposals to what I...