since ‎30-05-2017
‎10-12-2019
ekta_aggarwal
Level 2
Re: How to Access Image Rendition in AEM ekta_aggarwal - Adobe Experience Manager
You can refer "Implementing Adaptive Images in AEM" in the below documentation:https://helpx.adobe.com/in/experience-manager/6-3/sites/developing/using/responsive.htmlhttps://helpx.adobe.com/in/experience-manager/6-3/sites/developing/using/responsive.html
4389
Views
0
Likes
0
Answers
Re: wcmusepojo aem context junit ekta_aggarwal - Adobe Experience Manager
Hi Bhavyas,The content.json provided under the path "/json-import-samples" will be treated as the jcr:content of "/content/sih" page path. It could be your project path as well. Example : /content/
952
Views
0
Likes
0
Answers
Re: osgi values not being saved in AEM 6.2 ekta_aggarwal - Adobe Experience Manager
I am also getting the same issue.
9055
Views
0
Likes
0
Replies
Re: How to Access Image Rendition in AEM ekta_aggarwal - Adobe Experience Manager
Hi,We can achieve this using adaptive image component. I can share the sample code and configuration, if required.
4324
Views
0
Likes
0
Answers
Re: [AEM Meetup | 2018] Announcing the AEM Meetup at Adobe 25-A Noida, India ekta_aggarwal - Adobe Experience Manager
Hi Adobe community,I am Ekta Aggarwal from To The New. I am working here as a Senior Software Engineer and looking forward to get more insights on AEM 6.4 features and other new topics.
4689
Views
1
Like
0
Replies
Re: what can be defined as path for a sling servlet ekta_aggarwal - Adobe Experience Manager
Hi, You need to make a entry in "Apache Sling Servlet/Script Resolver and Error Handler" for /healthcheck, and now you can register your servlet with /healthcheck .
1184
Views
0
Likes
0
Answers
Re: How to get the path of the component instance under a page, that's invoking a servlet? ekta_aggarwal - Adobe Experience Manager
Hi, You can register your servlet using resourceType and can get component path in your servlet using :
2160
Views
1
Like
0
Answers
Re: How to include themed clientlibs in HTL/Sightly? ekta_aggarwal - Adobe Experience Manager
I was not asking how to include all clientlibs in HTL, my question is how to use themed clientlibs in HTL as we use in jsp explained above.
916
Views
0
Likes
0
Answers
How to include themed clientlibs in HTL/Sightly? ekta_aggarwal - Adobe Experience Manager
Hi, I know that in jsp, we can use themed clientlibs by using themed attribute: But not able to find how to use it in Sightly.
1557
Views
0
Likes
3
Answers and Comments
Re: Touch UI datepicker does not go beyond current year ekta_aggarwal - Adobe Experience Manager
I have pasted the same xml you have provided in my dialog and it is working as expected and I am using AEM 6.2. Which version of AEM you are using?
3208
Views
0
Likes
3
Replies
Re: wcmusepojo aem context junit ekta_aggarwal - Adobe Experience Manager
Yes we can test WCMUsePojo using AEM Mocks. To Mock the get methods of WCMUsePojo you need to mock the Bindings. Take a look of below sample class.public class SampleTest { @Rule public AemContext aemContext = new AemContext(); Sample obj = new Sample(); Resource resource = mock(Resource.class); SlingHttpServletRequest request = mock(SlingHttpServletRequest.class); Bindings bindings = mock(Bindings.class); @Before public void setUp() throws Exception { aemContext.load().json("/json-import-sample...
888
Views
0
Likes
0
Answers
Re: getting error not able to resolve AemContext type in wcm.io ekta_aggarwal - Adobe Experience Manager
Add the aem mocks dependency in your pom file io.wcm io.wcm.testing.aem-mock 1.8.0
928
Views
0
Likes
0
Replies
Re: Null ponter exception while creating JUnit test case for CQ5 component-raising from getResource() method ekta_aggarwal - Adobe Experience Manager
Try using below approach:Resource resource = mock(Resource.class);MyClass myClass = new MyClass(){ @Override public Resource getResource() { return resource; };};
661
Views
0
Likes
0
Answers
Re: Junits for sling model classes in AEM 6.3 ekta_aggarwal - Adobe Experience Manager
You can take reference from AEM Mocks
866
Views
0
Likes
0
Answers
Re: Unable to Inject OSGI Services: jUnit !! ekta_aggarwal - Adobe Experience Manager
Could you share the Code snippet of your class?
1063
Views
0
Likes
0
Answers
Re: How to track message delivery status using com.day.cq.mailer.MessageGatewayService ekta_aggarwal - Adobe Experience Manager
You can enable the debugging for emails by selecting the debug Email checkbox available in Day CQ Mail Service in config manager.
959
Views
0
Likes
0
Answers
Re: Constructor must call super() or this() Junit ekta_aggarwal - Adobe Experience Manager
Hi,This issue usually comes when we use below dependency of uber jar : com.adobe.aem uber-jar 6.2.0 obfuscated-apis providedTry changing the dependency classifier to apis , as shown below: com.adobe.aem uber-jar 6.2.0 apis provided
1390
Views
1
Like
0
Replies
Re: Access Sightly Variable In HandleBars ekta_aggarwal - Adobe Experience Manager
I have tested it. This is working fine for me.
789
Views
0
Likes
0
Answers
Re: Access Sightly Variable In HandleBars ekta_aggarwal - Adobe Experience Manager
Hi,You can use the sightly variable in the handlebars by adding @context='scriptString', as shown in the below example{{#if ${myVal == 'bla' @context='scriptString'}}} //something {{/if}}
795
Views
0
Likes
0
Answers
Re: AEM 6.1 SP1 Component height not calculated correctly in edit mode touch UI ekta_aggarwal - Adobe Experience Manager
But If we want to open the page in Touch UI editor mode only?
5936
Views
0
Likes
1
Replies
Re: AEM 6.1 SP1 Component height not calculated correctly in edit mode touch UI ekta_aggarwal - Adobe Experience Manager
Hi,I was also facing the same issue with AEM 6.2 in Touch UI edit mode, Height of ContentWrapper and iframe was increasing drastically throughout the site.The reason was, we were using a css class in our base page with the below properties, which was somehow impacting the ContentWrapper class:.wrapper {position: relative;min-height: 100%;margin: 0 auto -298px; }here, the bottom margin was given in -ve that's why height of ContentWrapper and iframe was increasing drastically in author mode.To fix...
3933
Views
1
Like
0
Replies
Likes given to
Likes from