Export data using arcgis sketch tool javascript api

11-05-2019 11:36 AM
New Contributor

How can I export data using Sketch Tool Widget I see it creates a feature but I want to extract the points it's covering.

The reason I want to use this instead of "Features by Geometry" because I can create multiple polygon, rectangle, circle at a time.

I want to be able to select that data/points its covering on a csv layer and extract/export them as CSV. 

Below code just creates the tool and you can also see in the image that it selected a feature but that is not getting selected from a csv reference it's on the map

 const sketch = new Sketch({
      layer: layer,
      view: view

0 Kudos
1 Reply
New Contributor

Were you able to figure out how to export the sketches?

0 Kudos