Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

nikunjk71293848
nikunjk71293848
Offline

Badges

Badges
12

Accepted Solutions

Accepted Solutions
0

Likes

Likes
1

Posts

Posts
41

Discussions

Discussions
19

Questions

Questions
22

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by nikunjk71293848
Customize the badges you want to showcase on your profile
Re: AEM Mocks - Adobe Experience Manager 10-11-2016
Yes it was null.

Views

2.1K

Likes

0

Replies

0
Re: AEM Mocks - Adobe Experience Manager 10-11-2016
Jitendra S.Tomar wrote... I think I understand it. it seems CommerceService object does not get created for every resource. In generally, CommerceService object gets initialized on the page who has product references. Try to adapto Node and print Node path. Adapted Node object isn't null then need to understand how commerceService object is initiated. Resource resource = context.create().resource("/etc/....."); Node tempNode = resource.adapTo(Node.class); print tempNode.getPath(); nikunjk7129384...

Views

2.1K

Likes

0

Replies

2
Re: AEM Mocks - Adobe Experience Manager 10-11-2016
By using AEM mocks, we get the AEM context and through that context we get resource.It is explained in below link:-http://wcm.io/testing/aem-mock/usage.htmlI tried to use Sling mocks also but it was not working.

Views

2.1K

Likes

0

Replies

4
Re: AEM Mocks - Adobe Experience Manager 10-11-2016
kautuksahni wrote... Can you please share with us complete error message/log? ~kautuk I have used below code:Case 1:-Resource resource = context.create().resource("/etc/commerce/products"); CommerceService commerceService = resource.adaptTo(CommerceService.class);In this case we are getting commerceService as null.Case 2:-public final AemContext context = new AemContext();CommerceService mockCommerce = Mockito.mock(CommerceService.class); context.registerService(CommerceService.class,mockCommerc...

Views

2.1K

Likes

0

Replies

0
AEM Mocks - Adobe Experience Manager 09-11-2016
When I am using AEM Mocks for writing Junits, I am not able to perform adaptTo functionality on the resource generated from AEM context.Its giving Invocation Target Exception.My AEM version is 6.0 and aem mock version is 1.2.4.The things which I have tried is from the below link:http://wcm.io/testing/aem-mock/usage.html

Views

3.3K

Likes

0

Replies

9
Integrating recommendation classic with analytics is not working - Adobe Target 31-08-2016
I have added a recommendation in mbox to display it on the site but its not showing as no of clicks and visitors in that recommendation is 0.Previously click and visits were getting captured through analytics in recommendation and it was displaying on page but somehow its not working now.I think there is some prob in integration of analytics with recommendation. I have referred this doc:-https://marketing.adobe.com/resources/help/en_US/rec/Recommendations.pdf but I am not able to find out the so...

Views

1.2K

Likes

0

Replies

1
Re: Not able to Activate any content using activate later - Adobe Experience Manager 17-08-2016
Hi,I have tried using on/off property as well. But due to some reason on property deactivates already activated page till the specified on time. Scenario: I have one abc.html which is already activated, i have modified this page and then specified on time for 10mins later. After activating this page; in between those 10mins, page remains deactivated and then again activates back after specified on time.Please help

Views

575

Likes

0

Replies

1
Re: Not able to Activate any content using activate later - Adobe Experience Manager 11-08-2016
In addition to above workflow, i have also tried using basic workflow ie just by addition of activate page component (please refer image below); but due to some reason this workflow also doesn't seem to work.

Views

2.2K

Likes

0

Replies

0
Re: Not able to Activate any content using activate later - Adobe Experience Manager 11-08-2016
I am using attached workflow (attaching image as zip is not supported). And the process fails in extreme left split, after check product rollout pages.

Views

2.2K

Likes

0

Replies

0
Re: Not able to Activate any content using activate later - Adobe Experience Manager 11-08-2016
Thanks, that seems to be working for me.However that has fixed my out of the box activate later issue. I still need help for custom workflow which makes use of Activate Page/Asset component. (Process: com.day.cq.wcm.workflow.process.ActivatePageProcess) I can still observe same error in my stack trace.

Views

2.2K

Likes

0

Replies

0
Likes given to
Likes from