The Layer List for the Sidebar instant app is no longer working. The app had been previously configured to only display 5 layers. It is now displaying every layer in the webmap.
I need the layers for one of the pop-ups however I do not need them to be toggleable on and off.
Is there a work around for the issue?
Thanks for reaching out about this. I just tried to reproduce this behavior and was unable to. I am currently looking into this more now, will report back with any findings.
Would it be possible to share the map that you are using that sees the issue?
I recalled previously any text in the Map accessibility section caused an issue after an Esri update. I removed all text and cleared by browser cache. This has seemed to solve the issue.
Has there been any recent updates to the instant apps?
Solved: Re: Sidebar - Unable to load map after November 20... - Esri Community
Thanks for the update. We did have an update last night so that could've been what happened. Were you able to add the map description back in and see the layer list settings working as expected now?
That must have been what happened. The instant app is in production and available to the public, so I'll leave the description off.
I created a copy of the map used the last time and built this demo app and can't repro it when the map desc is in place. Are you using a different map maybe?
If it will be helpful, here is the links to both the webmap and sidemap app. Since I have removed any text from the Map Descriptions – Map accessibility text field the Layer list is now displaying correctly. The error was first reported this morning Feb 23rd, I am guessing it was related to last nights AGO update.
Thank you for your help
Thanks Ryan. I can't repro with a copy of your map/app with the map desc included. I did make one small change to the app to handle an issue with layers loading. When you get a chance can you try adding the map desc back in and letting me know if it works? You can use the "My Apps" section of this page to make a copy of your app if you don't want to worry about breaking your existing app. https://www.arcgis.com/apps/instantgallery/index.html?tab=myApps