Select to view content in your preferred language

Custom Widget - Export to Shapefile Locally

234
1
02-13-2026 02:05 PM
Labels (1)
ChivoGIS
Emerging Contributor

I’m working on a custom widget/function for ArcGIS Experience Builder that can export selected, filtered, or all features from a layer to a local Shapefile.

Before I go too far down the custom‑development path, I wanted to check with the community:

Has anyone seen a pre‑built custom widget or code sample that already does this?
In an ideal world, I’d like to add an Action—similar to the existing “Export to Shapefile” action in the Map Layers widget/Table widget —but with the ability to export locally and respect:
- Current feature selection
- Filters applied to the data source
- Or default to all features if neither is present

If you’ve come across anything similar or have recommendations on best practices for implementing this in EB (Developer Edition), I’d really appreciate the pointers.

Thanks in advance!

 
0 Kudos
1 Reply
Brian_McLeer
MVP Regular Contributor

Hello @ChivoGIS , @JeffreyThompson2 and I just added the import/export to shapefile on version 3 of the Draw Advanced widget that was released a couple of weeks ago. There were some npm dependencies required. This may help with adding shapefile imports/exports to your widget. 

https://community.esri.com/t5/experience-builder-custom-widgets/advanced-draw-widget-improvements-im...

0 Kudos