Export to GeoJSON in Widgets WAB

1080
1
Jump to solution
01-13-2020 09:29 AM
AlbertoLópez
New Contributor III

Hi;

I need to create a widget in WAB to export a layer (Graphic Layer for example) to GeoJSON with ArcGIS API Javascript 3X.

Besides using libraries like Terraforme, etc. I would like to see how  is exported to geojson in  the WAB "Select" and "Geoprocessing \ Profile"  widgets or in the Robert Scheitlin Enhanced Search Widget (for example), but I've been searching in the javascript the code of this widgets but  I can't find anything to do the export to  GeoJSON. 

Do you know how this widgets export to GeoJSON.

Thanks, greetings.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Alberto,

   Look in jimu.js/exportUtils.js

View solution in original post

1 Reply
RobertScheitlin__GISP
MVP Emeritus

Alberto,

   Look in jimu.js/exportUtils.js