since ‎13-04-2016
‎10-12-2019
nikunjk71293848
Level 2
Re: AEM Mocks
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Yes it was null.

Views

1.7K

Likes

0

Replies

0
Re: AEM Mocks
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
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

1.7K

Likes

0

Replies

2
Re: AEM Mocks
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
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

1.7K

Likes

0

Replies

4
Re: AEM Mocks
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
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

1.7K

Likes

0

Replies

0
AEM Mocks
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
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

2.9K

Likes

0

Replies

9
Integrating recommendation classic with analytics is not working
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Target
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.1K

Likes

0

Replies

1
Re: Not able to Activate any content using activate later
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
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

400

Likes

0

Replies

1
Re: Not able to Activate any content using activate later
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
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

1.9K

Likes

0

Replies

0
Re: Not able to Activate any content using activate later
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
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

1.9K

Likes

0

Replies

0
Re: Not able to Activate any content using activate later
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
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

1.9K

Likes

0

Replies

0
Re: Not able to Activate any content using activate later
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Can you please elaborate more on on/off property.Are you talking about following page property- "Check if approval needed for actiavtion"? If yes, then yes this switch was enabled.

Views

1.9K

Likes

0

Replies

2
Re: Not able to Activate any content using activate later
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Yes, i am able to activate content from siteadmin.

Views

1.9K

Likes

0

Replies

0
Not able to Activate any content using activate later
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Hi,Activate later functionality for activating my content doesn't seem to work. I have used the same in one of my custom workflow and the result is same. Content is not activated with future date. Error stack trace that is populated is:10.08.2016 13:15:02.140 *ERROR* [JobHandler: /etc/workflow/instances/2016-08-10/model_12114258102655171:/content/cpw/en_GB/home/products/philips/shb-3060-wireless-headphones] com.day.cq.replication.Agent.publish5 Error while building replication content com.day.cq...

Views

2.5K

Like

1

Replies

11
Search and Promote - SPIN
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Target
Hi, Please guide me with SPIN option in Search and Promote. Also please provide some document for reference on the same.

Views

844

Likes

0

Replies

1
Re: Search and Promote - SPIN feature
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Target
Hi,I am not looking for creating a metadata. But i want to understand pushing configuration from one search and promote instance to another. SPIN technology.Please provide some guidance on SPIN technology. Thanks,Nikunj

Views

1.2K

Likes

0

Replies

0
Search and Promote - SPIN feature
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Target
Hi, As per my previous query raised, i have been informed that SPIN feature available in search and promote tool is used for pushing metadata, filtering scripts, etc from one search and promote instance to other search and promote instance. Ex:Search & Promote A Search & Promote Bsp100001 sp100002Metadata - title --> ? How do i push this metdata title to Search & Promote instance B? Can you please provide some documents for referring the same. Thanks,Nikunj

Views

1.4K

Likes

0

Replies

3
search and promote
Avatar

nikunjk71293848

nikunjk71293848
- Dynamic Tag Management
Hi, I have multiple instances of search and promote and i want to push my changes from one instance to another. How can we do that?Ex: SNP instance "1" has a newly created Facet, now i wish to push the same to SNP instance "2"Please guide.

Views

538

Likes

0

Replies

2
Deployment of search and promote changes
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Target
Hi,I have multiple search and promote instances pointing to different environment (STAGE, QA, UAT, etc). If any changes done on any of the search and promote instances (like creating metadata,facets,etc), how do we deploy these changes to other search and promote instances? Please guide.

Views

421

Likes

0

Replies

1
Re: livechat implementation using DTM
Avatar

nikunjk71293848

nikunjk71293848
- Dynamic Tag Management
Hi Anna,Had implemented in the similar fashion as you described, but it is not working.Had one more doubt, as we save s_code in the editor, where do we save the lemtagconfig file for livechat?Can you implement an example and elaborate about it.Thanks,Nikunj

Views

1.4K

Likes

0

Replies

0
Re: livechat implementation using DTM
Avatar

nikunjk71293848

nikunjk71293848
- Dynamic Tag Management
Hi Anna,Livechat is somewhat similar to omniture.Like omniture requires s_code (provided by the third party), Livechat also requires lemtagconfig. So with the help of third party tags, we are not able to implement it.Can you guide?Thanks,Nikunj

Views

1.4K

Likes

0

Replies

2
livechat implementation using DTM
Avatar

nikunjk71293848

nikunjk71293848
- Dynamic Tag Management
Hi,How do we implement livechat with the help of Adobe DTM?Implementing livechat seems to be an issue. Can anyone help us out.Thanks,Nikunj

Views

1.5K

Likes

0

Replies

4
Geolocation OOTB component
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Hi, How do i fetch user's location (ie latitude and longitude) inside my jsp?I have added goelocation component inside client context and used "CQ_Analytics.ClientContextMgr.clientcontext.geolocation.longitude" command to fetch the data, but this passes a null value. Thanks,Nikunj

Views

400

Likes

0

Replies

0
Re: Search and promote slider component
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
AEM 6.0

Views

312

Likes

0

Replies

0
Re: Search and promote slider component
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Hi, So inorder to create our own custom slider component what query parameters need to be passed?Is there any other workaround to implement slider? Thanks,Nikunj

Views

307

Likes

0

Replies

0
Search and promote slider component
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Hi, I am looking for a slider component that can be implemented with the help of search and promote as no out of the box component is available for slider.What should be the query parameter for slider (min max type or something else)?And from the search and promote dashboard perspectivite what all need to be configured to implement a slider? Thanks,Nikunj

Views

513

Likes

0

Replies

4
Re: Search and promote rules
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Hi, This document only talks about integration of AEM with search and promote. No business/pre-search/post-search rules related detail is provided.Plus the search and promote help document only describes high level of rule creation. Please guide. Thanks,Nikunj

Views

348

Likes

0

Replies

0
Search and promote rules
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Hi, I have configured different types of sort-by and need to enable and disable the sort options available in sort-by based on url parameter.How can this be configured in search and promote? Thanks,Nikunj

Views

468

Likes

0

Replies

3
Facet ordering in Search and promote
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Hi, How do we order facet in search and promote dashboard?Is it done through some Business rule or through facet rail?Can you explain the complete process to achieve the same. Thanks,Nikunj

Views

264

Likes

0

Replies

0
Re: Predictive search / Auto suggest
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Hi, I am not looking for faceted search. I want auto suggest to be restricted to the data obtained from few pages of site after crawling. (ie auto suggest should only suggest data from those pages and not from complete site)How can that be achieved? Thanks,Nikunj

Views

338

Likes

0

Replies

0
Re: Predictive search / Auto suggest
Avatar

nikunjk71293848

nikunjk71293848
- Adobe Experience Manager
Hi, I have tried the enabling auto-suggest from dialog box and that is not working for me.Please see the screen shots attached

Views

335

Likes

0

Replies

0
Likes given to
Likes from