aem Questions

7

Solved

How do I programmatically know which run-mode the instance is running? I created a custom tag that provides the config depending on the instance run-mode, but I can not determine the current run-mo...
Silvie asked 3/9, 2012 at 10:7

1

Solved

Started to work with AEM project. Now I am trying to launch project locally and got next error during building (stacktrace cut): [ERROR] Failed to execute goal org.apache.felix:maven-scr-plugin:1....
Vinegarish asked 23/2, 2018 at 17:45

1

Solved

When trying to @Inject (javax.inject.Inject) to inject MyConfigurationService within @SlingServlet MyServlet leads to a NullPointerError anytime any operations are attempted on myConfigurationServi...
Shewchuk asked 15/2, 2018 at 21:25

2

How can I dynamically set a CSS class on the wrapping decoration tag of an AEM6 Sightly component? I cannot set this CSS class on the component as it depends on the instance of the component, and ...
Ripuarian asked 29/9, 2014 at 14:25

3

What is the significance of having 2 separate last modified dates(jcr:lastModified and cq:lastModified)? Is there a scenario where one of the dates gets updated and second one not. Cant we live wit...
Elfriedeelfstan asked 15/4, 2016 at 9:10

1

Solved

I am new to sightly. Can someone please help me understand the difference between using <sly data-sly-test ="${condition}" data-sly-unwrap> and <div data-sly-test="${condition}" dat...
Rabinowitz asked 26/11, 2017 at 3:15

1

How to add the robots.txt file to an AEM server to provide rules for Web Crawlers in AEM?
Longlimbed asked 25/10, 2017 at 11:38

4

Solved

I want to write some data to AEM, and the below code works fine for me in AEM 6.0 but not in AEM 6.1 , always throws a Login Exception as follows: "Login Exception when obtaining a CRX User for th...
Candor asked 10/7, 2015 at 21:26

2

Using the following dependencies (amongst others, the bundle is supposed to be installed to AEM 6.1) runtime is java8 maven-scr-plugin 1.15.0 org.apache.felix.scr.annotations: 1.9.8 org.apache.f...
Brockbrocken asked 20/10, 2015 at 14:0

11

I have to drag an image and drop it into a CQ5 component. The image and component are in different frames. Here is the code which did not work as webelement destinationcould not be found when the ...
Thuja asked 10/8, 2012 at 7:41

2

Solved

I read a lot of articles like JCR vs Apache Sling and I'm confused about what to use. Some authors advise to use JCR API like more performance optimized and the rest are on the side of Apache Sling...
Blasting asked 28/7, 2017 at 14:45

4

Solved

I am migrating classic ui dialogs to touch ui dialogs, I migrated the parent component dialog, I observed AEM is showing the parent dialogs tabs and properties in the child component as well. In th...
Zimbabwe asked 17/9, 2015 at 4:10

1

Solved

What is the difference between Extending a component, overriding a component and overlaying a component. Can someone please explain with developer point of view
aem
Bedlamite asked 23/6, 2017 at 11:26

1

Solved

This is my first AEM project, I have a image upload in a component which is working, after uploading if i open settings of component to change the image, preview is not working as you can see in be...
Bandage asked 5/5, 2017 at 9:47

3

Solved

I have a Sling Resource object. What is the best way to set or update its property?
Obala asked 9/7, 2014 at 20:17

1

Solved

What is the use of selectors in Sling? http://www.resourcePath.selector.extension I have read the documents online about the usage of selectors: Some of the documents say that it is used for ...
Mcarthur asked 17/3, 2017 at 9:7

1

I am attempting to grab multiple nodes of the same type from different areas in the jcr and order them by a date. SELECT * FROM [social:asiResource] WHERE [sling:resourceType] = 'social/qna/compo...
Eadwina asked 15/3, 2017 at 21:38

2

When we update any configuration for a component in the Configurations tab in the Apache Felix Web OSGi Console, where are these configuration settings saved? This is with respect to AEM 6.0 or abo...
Salsala asked 20/2, 2017 at 8:25

2

Solved

For reference, I'm on CQ5.5 I am curious if there is any way to extend upon an inherited dialog, without overwriting it's parent dialog. For example, have a structure as follows: base-page-templ...
aem
Gutbucket asked 22/1, 2014 at 20:57

1

Solved

Am trying to understand the AEM Sling Resource Merger concept. As per the Adobe docs examples Override (Configuring your Page Properties), Overlay (Customizing the Consoles (touch-optimized UI)) am...
Sweetheart asked 17/1, 2017 at 3:41

2

Solved

Sling provides a functionality to ease resource resolution. It's ability to resolve to exact resource representation we need is very useful in content based application. However I am not able to u...
Welladvised asked 27/12, 2016 at 13:6

2

Solved

In JSTL you can set variables in on component that are available to all other components after it in the same request. In AEM using sightly is there an equivalent way to pass data between component...
Haldis asked 21/8, 2014 at 16:8

3

Solved

I am using Postman to test OAuth 2 from a vanilla AEM install. Postman can successfully obtain the authorization code from /oauth/authorize after I grant access: But when it tries to use the...
Pines asked 29/1, 2016 at 2:45

5

How can I remove the decoration tags only in preview/publish mode in AEM sightly? I have seen the question and answer: AEM/CQ: Conditional CSS class on decoration tag This removes the decoration ...
Gassaway asked 2/2, 2015 at 16:54

3

Solved

I have recently migrated a development site from AEM 5.6 to 6.0. When I click on the edit icon, in the Touch UI mode, a blank page loads with no UI. A sample Url in this mode looks like this: local...
aem
Horehound asked 2/2, 2015 at 22:7

© 2022 - 2024 — McMap. All rights reserved.