Download widget

1080
9
05-16-2022 10:42 AM
Labels (2)
BrunoGomesdeSouza
Occasional Contributor

Hey guys,

Do you have some solution to download feature layers directly from Experience builder?
I did a search in git hub and here in community and found nothing about.

Thanks

9 Replies
JacquieKovarik
Occasional Contributor

Hi @BrunoGomesdeSouza ,

I don't have any suggestions for you, but am wondering if you found a solution to a download widget?

Thanks in advance for your response!

Jacqueline

0 Kudos
ijr
by
Emerging Contributor

Also wondering if you found a solution for this...

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

@ijr This is standard functionality now. No need for a Custom Widget.

When you allow export for a layer, the Export settings button appears next to that layer. You can click the button to open the Format options panel. You can allow users to export data to CSV, JSON, GeoJSON, ArcGIS item, Shapefile, FGDB, and KML.

GIS Developer
City of Arlington, Texas
0 Kudos
ijr
by
Emerging Contributor

The export data function only creates an item in AGOL, there is no direct download option, which makes it unusable for someone without an Esri license.

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

There are also shapefile, file geodatabase and KML options.

The Shapefile, FGDB, and KML options only appear at run time in the Export data action drop-down menu under All data if the data supports createReplica. Additionally, to export individual records to Shapefile, FGDB, or KML, you must sign in with an ArcGIS account.

GIS Developer
City of Arlington, Texas
0 Kudos
ijr
by
Emerging Contributor

Yes, I know. As it says in your screenshot, 'you must sign in with an ArcGIS account.' I need this to work for someone who doesn't have an account.

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

It says downloading individual records requires an account, have you tried if it works with whole layers?

GIS Developer
City of Arlington, Texas
0 Kudos
ijr
by
Emerging Contributor

Yes, the functionality does not exist. This has been confirmed by Esri Support.

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

https://community.esri.com/t5/experience-builder-custom-widgets/filter-data-on-map-and-then-export-f...

Here's a function for turning a Feature Layer into a csv. You would need to do something similar, but format your data as a shapefile or whatever format of download you want. I don't know how to help you on the formatting problem. I suspect their might be better documentation on creating a KML from scratch than a shapefile or geodatabase.

GIS Developer
City of Arlington, Texas
0 Kudos