Select to view content in your preferred language

Export Shapefile from ExB pop-up window without an AGOL account

1149
16
06-27-2025 09:32 AM
Status: Implemented
berniejconnors
Frequent Contributor

I was excited to see Shapefile exports added to ArcGIS Experience Builder in the June 2025 AGOL update.  Our users need a widely supported format for exporting a few features to be used in CAD or other software. However, after a quick test in the GeoNB Map Viewer (https://lnkd.in/eNam9NC) I was quickly disappointed.

The user must have an AGOL account to export a Shapefile. We share most of our map viewers with the Public. We cannot expect members of the Public to have an AGOL account just to receive a tiny Shapefile.  Users can still download a CSV, JSON, or GeoJSON directly to their computer.  However, exporting to Shapefile, FGDB, or KML requires an AGOL account.  I cannot imagine a scenario where this makes sense.

My Idea:
By default, all exports can be directly downloaded to the user's computer.  But also add a check box "Export to AGOL".  If the user selects "Export to AGOL" then the AGOL login would be triggered and they can choose the AGOL folder for the exported data.

Doesn't that make more sense?  Arbitrarily restricting the export of certain file formats to AGOL is non-sensical.

ExBshpDownload.png

Tags (2)
16 Comments
ijr
by

@ShengdiZhang I'm testing this out on an app I had already configured and it is still prompting me to login when I attempt to download a shapefile.

berniejconnors

@ShengdiZhang 

I believe the problem exporting to Shape File is my ExB app is iframed into another page so we can share it with a URL on our own domain:

iframed ExB app - https://geonb.snb.ca/geonb  

If I open my ExB app directly from the AGOL URL it will work - https://experience.arcgis.com/experience/e9ea86e76928479297fd4f18114929d8

Sorry - this was a false alert.

Bernie.

ijr
by

@ShengdiZhang 

I tried exporting a shapefile from @berniejconnors 's app that he linked above, and same thing, prompted to login.

ShengdiZhang

@ijr

Are you using a map service? Map services do not support create replica and still require an account to export records to a shapefile.

If not, could you share your data so I can take a closer look?

Thanks,

Shengdi

berniejconnors

@ShengdiZhang ,

       Yes, I primarily use map services.

Bernie.

ijr
by

@ShengdiZhang 

 

No, it's a hosted feature layer. 

 

Update: Actually it's working now. Pop-ups were being blocked in my browser. I fixed that and now I'm getting the download. Thanks!