Carousel in Service Portal

salu
Mega Guru

Hello Everyone,

I am in learning phase of Service Portal.

I have created a sample page and cloned the carousel widget and created new widget called sliding.In the widget instances I have added new images also.But its loading all the images rather than I added.How many time am adding image in the widget instances, that much images are loading.Can some one help where I need to change.

find_real_file.png

find_real_file.png

5 REPLIES 5

Chetan Sondhi
Kilo Sage

Hi Saranya,



Could you please double check if you have data.slides = $sp.getRelatedList('sp_carousel_slide','carousel'); in server script of widget ?



PS - Please mark Helpful, Like, or Correct Answer if applicable.


Hello Chetan,


I have added like below


data.slides = $sp.getRelatedList('sp_carousel_slide','sliding');//Sliding is the name of my widget


I have added the imaged in the widget instances and its coming all the images in the sp_carousel_slide table.How can I restrict it?



I think what you are trying to do is adjust the widget instance of the carousel and not create a copy of the carousel widget. Drag a carousel widget to a page, then open the instance in the platform list. It will not have a name, but you can filter on Widget = Carousel.


menu.png carousel.png