Open skrishn opened 1 month ago
@skrishn
If we remove the layers from map which are not editable, then we may face issues in Polling app configuration. Consider if the layer is set to uneditable and we need only comments from user on the features then we will not able to show such layers in the app.
Please let us know your thoughts on this, if this case is not valid we can check for the layer editingEnabled property and remove the layer from reporting layers
@sumitzarkar My understanding is that for both reporter and polling, the layer has to be editable to show in the report panel. I created a reporter for polling capability with the same map, and the non-editable layer doesn't appear in this list
So, removing the non-editable layer from the list shouldn't affect polling.
Describe the bug
I created an app with a map with editing enabled on all layers, later I disabled editing on one of the layers. The app still shows it in the layer list and lets me view the popup details. When I click to report an incident, it only shows the layer with editing enabled. I've to open the config which then removes the non-editable layer from the list.
Expected Behavior
App should only display only editable layers and be aware of the changes made to the map.
Reproduction Steps & Sample
https://localgovdev.mapsdevext.arcgis.com/apps/mapviewer/index.html?webmap=4003be1c6b5e4264b1834b8854b7192e https://localgovdev.mapsdevext.arcgis.com/apps/instant/reporter/index.html?appid=3fca24b4b3384735bb61ec770cc66780
Other Relevant Info
No response