Scrolling speed in Service Portal Carousel

Alex Macdonel
Tera Expert

Reviewing the widget code for the Carousel I can't find how to change the speed of scrolling of images.

How can I slow them down? Is it related to the options.interval variable?

1 ACCEPTED SOLUTION

larstange
Mega Sage

Hi



You had the answer yourself - it is using the Angular bootstrap carousel provider and as you said "option.interval" is indeed mapped to the interval



find_real_file.png


The issue is that service now has not made the "interval" option visible in the option schema for that widget. But you can get to it without having to modify the widget.



Go to Service Portal -> Widget instances and the find the instance for the Carousel on the SC Home page.



Open the record and add the interval field to the form layout - now you can change the default 5 seconds to something else.



find_real_file.png


View solution in original post

4 REPLIES 4

larstange
Mega Sage

Hi



You had the answer yourself - it is using the Angular bootstrap carousel provider and as you said "option.interval" is indeed mapped to the interval



find_real_file.png


The issue is that service now has not made the "interval" option visible in the option schema for that widget. But you can get to it without having to modify the widget.



Go to Service Portal -> Widget instances and the find the instance for the Carousel on the SC Home page.



Open the record and add the interval field to the form layout - now you can change the default 5 seconds to something else.



find_real_file.png


I had to modify the form and expose the 'Interval' field on it...



Thanks!


ericcrawford
ServiceNow Employee
ServiceNow Employee

The interval is not longer on the Widget instance table in the New York release.  It appears that the interval is hardcoded into the client controller script on the widget.

It's still there. Working with version Build tag: glide-newyork-06-26-2019__patch6-01-29-2020