AnsweredAssumed Answered

Extract shapefile from web map???

Question asked by ponderingtom on Oct 15, 2019
Latest reply on May 20, 2020 by ponderingtom

This task is going to be the death me. I know just enough about ESRI and GIS to be dangerous.


I feel like my task should be simple, but I just can't figure it out after searching forums and trying different methods for weeks. All I want to do is click a button on the map and export the current viewable extent to the user in the form of a shapefile. I've tried several built-in processes with absolutely no luck. I cross one hurdle only to fall face first into the next one.


I'm currently focused on ExtractData but am running into a login prompt because the creation of the ExtractData object is trying to access arcgis/rest/info?f=json on my server and it doesn't have access to that. I'm so frustrated. This may not even be the best way to do what I'm attempting.


Can anybody tell me, or point me to sample code (which I'm having no luck finding,) how to export spatial data from a web map?


Thanks in advance!!!