since ‎11-11-2020
Online
saukaush
Level 1
Update Maven Archetype to version 26
Avatar

saukaush

saukaush
- Adobe Experience Manager
We are upgrading from AEM 6.3 to 6.5.5. I am not able to check the Maven Archetype of our project but it is very old as no one has updated it for a long time.Please help me understand how can i upgrade the archetype to version 26.

Views

44

Likes

0

Replies

1
Re: How to identify if URL contains editor.html in Sightly
Avatar

saukaush

saukaush
- Adobe Experience Manager
My Use case is - My component should be visible if URL contains editor.html and it should be hidden when editor.html is not present.

Views

112

Likes

0

Replies

0
Re: How to identify if URL contains editor.html in Sightly
Avatar

saukaush

saukaush
- Adobe Experience Manager
window.location.href do not contain /editor.html.

Views

134

Likes

0

Replies

0
Re: How to identify if URL contains editor.html in Sightly
Avatar

saukaush

saukaush
- Adobe Experience Manager
Thanks, but even window.location.href do not contain /editor.html

Views

138

Likes

0

Replies

0
Re: How to identify if URL contains editor.html in Sightly
Avatar

saukaush

saukaush
- Adobe Experience Manager
Not exactly @bkhatr, I can enter preview mode with editor.html in the URL. I need know which property or variable can differentiate whether editor.html is present in the URL.

Views

317

Likes

0

Replies

0
Re: How to identify if URL contains editor.html in Sightly
Avatar

saukaush

saukaush
- Adobe Experience Manager
It will give true in both cases. So not able to differentiate.

Views

156

Likes

0

Replies

0
How to identify if URL contains editor.html in Sightly
Avatar

saukaush

saukaush
- Adobe Experience Manager
I need to differentiate between below URLs in Sightly html.http://localhost:4502/content/abc/xyz/test.html andhttp://localhost:4502/editor.html/content/abc/xyz/test.html How can I achieve the same? I tried using wcmmode.edit but it evaluates to true in both cases.

Views

348

Likes

0

Replies

18
Magento integration - Add to Cart functionality
Avatar

saukaush

saukaush
- Adobe Experience Manager
Hi, I have integrated my Site with Magento and able to see my products and different variants. But the Add to Cart is disabled.I am using the code from aem-core-cif-components. Upon debug i can see variants in variantSelector.js are blank. this._state.variantData = JSON.parse(this._element.dataset.variants);element is getting fetched from config.element All variants are getting displayed on html with correct values. Please let me know what can be issue with variants not getting populated in js f...

Views

139

Likes

0

Replies

1
Re: MySQL connection with AEM - No data source found with name '------'
Avatar

saukaush

saukaush
- Adobe Experience Manager
Hi Shailesh, I see you have created the config as a nt:file. I have created sling:osgiConfig under /apps/myproject/config. Is it like import com.day.commons.datasource.poolservice.DataSourcePool Reference scans and stores only configs stored as nt:file? and the strange thing is if i created the config manually from configMgr for a very first time on a machine, DataSourcePool scans and stores every config ( be it manual from configMgr or as osgiConfig in crxde). But if the very first config on a ...

Views

322

Like

1

Replies

0
MySQL connection with AEM - No data source found with name '------'
Avatar

saukaush

saukaush
- Adobe Experience Manager
I am trying to create MySQL connection from my servlet using Day Commons JDBC connections pool. 1. I created config manually from system/console/configMgr and tested my code. It worked fine. I added a new config from crx/de and both configs worked fine. 2. On another machine, i created the config first through crx/de and got below exception. com.day.commons.datasource.poolservice.DataSourceNotFoundException: No data source found with name 'retail' (after asking 0 providers)I also tried creating ...

Views

353

Likes

0

Replies

3
Likes from