Hi ;)
I want to work with the ESRI Sample site : https://developers.arcgis.com/en/fle...th-toolbar.htm
I want to use this sample in a widget,My need is to create a widget that displays the editing tools in a single well-defined layer.
but the big problem I have is that the éditable layer is explicitly defined in the code:
<esri:FeatureLayer id="fireAreas" mode="snapshot" outFields="*" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/2">
Please if you have an idea how to retrieve the FeatureLayer dynamically from the map or service.
Thanks a lot.
I want to work with the ESRI Sample site : https://developers.arcgis.com/en/fle...th-toolbar.htm
I want to use this sample in a widget,My need is to create a widget that displays the editing tools in a single well-defined layer.
but the big problem I have is that the éditable layer is explicitly defined in the code:
<esri:FeatureLayer id="fireAreas" mode="snapshot" outFields="*" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/2">
Please if you have an idea how to retrieve the FeatureLayer dynamically from the map or service.
Thanks a lot.