Hi,
I have a customer who has ArcGIS Online account. Customer wants to periodically download the data from ArcGIS Online in "Shapefile" format. I can see the option to export the data using ArcGIS Online Feature Service UI.
However, I cannot find a REST endpoint that allows export. I am missing something or is it just not supported by REST interface.
I have shown the customer createreplica endpoint but it does not serve the purpose as customer does not have ArcGIS Desktop to work with FGDB created.
Only option I can think of is to use query interface to query and export as CSV or something. Is there any other suggestion?
Regards,
Vish
There is no Export option on the REST endpoint of a feature layer. There is an export Item call as part of the portal.
Do you require a programmatic solution? If the user owns the item, they can effectively make the above call in the user interface to create an item from the feature layer. Then, the could download the item if they want it on their computer. Go to the feature layer item, look in the Layers section and click the small arrow next to the layer name for the export options.
If the user doesn't own the feature layer item, it may still be possible to export the item if the owner of the feature layer enabled export. On the feature layer, the owner can edit the properties and toggle the export property.