Dynamicly populating carousel

I would like to dynamically populate a carousel with information I get from API call.
How can I do that? I need to have an image (from URL), text, description, title, and Register button with custom url.

1 Like

Hi @vadimgg ,

In order to generate a dynamic carousel, we have to store the results inside an array of objects.

let result = [{
actions : [{
  title: 'Register',

This could help you achieve your use case, Please let us know incase of any queries


1 Like

Is there a way to spawn a carousel from code?
How would it look like? can you give an example?

1 Like

Hi @Gowtham_Kishore ,

This isn’t working in the latest interface. Could you please tell us if we need to modify the code to populate the carousel dynamically?


@Jaya_Banbah , @vadimgg

1 Like

Hey Sindhu,

Can you please share more information? Does it show any error when you use the carousel?
PS: @Gowtham_Kishore suggested that you should check the data type of variables. It should be either string or object to work well carousel.