HowTo:  Retrieve attachments from a hosted feature service

相关信息
Article ID: 43333
Software:
ArcGIS Online Current
Platforms: N/A

问题描述
Backing up data is necessary because any content deleted from an organization is permanently removed and cannot be recovered.

The instructions provided describe how to retrieve and extract a hosted feature service with attachments to save individual copies of the data to a local machine.

已邀请:

易智瑞技术支持

赞同来自:

解决方案
Follow the steps provided to create a replica (a file geodatabase) from the REST endpoint of the service to save attachments from a hosted feature service.


  1. Log in to the ArcGIS Online organizational account.
  2. Navigate to My Content, and browse to the desired feature service with attachments.
  3. Select Show Item Details. The item details page for the hosted feature service displays.
  4. Scroll down to find the Layers section. Click the small arrow icon next to the layer with the attachment to be retrieved, and click Service URL.
  5. Remove the Layer ID from the end of the service URL.
  6. Scroll down to the bottom of the page, and click Create Replica.
  7. Specify the 'Replica Name'. The name cannot contain any spaces.
  8. Specify 'Layers' with a value of 0.
  9. Set the following options accordingly based on the size of datasets. For small datasets: a. Return Attachments: True b. Sync Model: none c. Data Format: FILEGDB
  10. Click the Create Replica button. A 'statusURL' displays at the bottom of the screen. Click the URL.
  11. In the new page, click the Result URL. The zip file is downloaded.
  12. To get the output, extract the file geodatabase. This contains the features and attachments from the hosted feature service.


其它相关参考
  1. ArcGIS REST API Help: Create Replica
  2. ArcGIS Online Help: Enable editing, data exporting, and edit tracking on a feature service
  3. ArcGIS Online Help: Frequently asked questions
  4. Problem: Creating a local copy of feature services converts the Global ID to zeroes


创建及修改时间
Created: 10/28/2014

Last Modified: 11/20/2014
原文链接
http://support.esri.com/en/kno ... 43333

要回复问题请先登录注册