Select to view content in your preferred language

How to set Refresh Interval for Feature Collection in Web AppBuilder?

3260
12
11-01-2016 03:42 PM
MarkMcCart
Regular Contributor

I need to set the refresh interval for a Feature Collection for a hosted site developed in Web AppBuilder. I cannot use the 'Info Summary Widget' for this because it won't allow 2 widgets to be run at the same time. If I enable the Info Summary Widget to start refreshing the Feature Collection, it turns on my 'Summary Widget'/Ticker that I need open all the time for the end user.

I don't want to use a Feature Service due to the connection limitations we've run into in the past for our popular AGOL-hosted apps. 

I've downloaded the app to Web AppBuilder Developers 2.2 edition and download the code to host it locally. However, I am not seeing where I can set the refreshInterval for the only layer I have in the map (excluding the basemap, which we are not allowing users to change).

Can someone point me to the correct file I need to update? I'm pretty sure the update needs to occur to one of the .js files in jimus.js\LayerInfos\ directory but I am rather new to the Web AppBuilder.

Thanks in advance!

-Mark

Tags (1)
0 Kudos
12 Replies
RobertScheitlin__GISP
MVP Emeritus

Mark,

   Add it to get the layer title and for testing purposes.

0 Kudos
MarkMcCart
Regular Contributor

I added the layer list widget and matched the name of the layer in the code and no luck.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Mark,

   I don't know what to tell you then. I worked on my end for a FeatureLayer coming from a url.

0 Kudos