Injecting carousel slides from Adobe Target to AEM OOTB Carousel component | Community
Skip to main content
Level 2
June 22, 2023

Injecting carousel slides from Adobe Target to AEM OOTB Carousel component

  • June 22, 2023
  • 2 replies
  • 1033 views

Hi,

 

I am using ootb carousel component and inserting my custom components as the carousel slides. I have two carousel slides in the carousel and  I have a requirement where I have to inject the third carousel slide from Adobe Target to the carousel component. I have added the third carousel slide to the component but I am not able to see the third slide when sliding through the carousel.

 

I see some id attributes present on each each carousel item. So, does AEM not pickup the dynamic carousel item that is added?

 

Please help. Thanks.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Tanika02
Level 7
June 22, 2023

Hello @mvelicheti - 

 

  • Can you check that the dynamically added third carousel slide has a unique ID assigned to its corresponding element ?
  • Also, is that the HTML structure/ necessary CSS classes of the third carousel slide matches the structure expected by the Carousel component?
Level 2
June 22, 2023

Thanks for the reply @tanika02 .

 

Yes, the third carousel is having unique id and it matches the structure but still it is not working. Please check the below screenshot for the carousel id's.

 

October 12, 2023

Hi @mvelicheti ,

 

Did this issue get resolved? How did you implement it? Can you please explain here, so it can be helpful to others as well?

 

Thanks

Aditya.