This workflow allows you to check out File Geodatabase data to the field with ArcPad and synchronize your field edits over the air. Synchronization can occur from the field as often as desired, when internet connectivity is available.
- ArcPad 10.2
- ArcGIS 10.1
- ArcGIS Online named user account and a few credits
Advantages to this workflow:
- Existing customized ArcPad projects can be used without extra office check in / check out procedures.
- ArcGIS Online handles all the feature service storage, hosting, and synchronization – no extra pieces or administration is needed.
- The default mode is offline and internet connectivity can be utilized when available.
This workflow consists of 5 easy steps:
Step 1: Open your existing ArcPad checkout MXD in ArcMap and perform an ArcPad checkout.
- Open the MXD that contains your ArcPad project data (file Geodatabase and background layers).
- Set the map extent to the extent that you want to take to the field.
- Run the Get Data for ArcPad tool and step through your standard ArcPad checkout, applying any custom layer templates.
This creates an ArcPad checkout folder with your .APM, AXF, and any background layers (e.g., DataForArcPad1). This is the folder that you will deploy to your mobile device at the beginning of the project.
Step 2: Share your checkout MXD as a feature service.
While still in ArcMap, connect to your ArcGIS Online account (if not connected already). Then:
- Click File->Share As->Service
- In the Share as Service dialog, select Publish a service, then click Next.
- In the Publish a Service dialog, select your connection and type a service name, then click Continue.
- In the Service Editor dialog, click Capabilities, check Feature Access and uncheck Tiled Mapping.
- Click Feature Access, and check all checkboxes under Operations allowed:
- Click Sharing, and select the appropriate groups to grant access to the service.
- Click Analyze, fix any errors, then click Publish.
- Wait for the feature service publishing process to finish.
Step 3: Link the feature service URL to your ArcPad AXF.
- A. Create a LYR file for your feature service:
- Browse to the feature service that you just created.
- Right-click and select Create Layer.
- Name the feature service layer file the same name as your feature service (but with the .LYR extension).
- B. Run the Add Feature Service URL to AXF GP tool:
- In the ArcPad Toolbox Tools, run the Add Feature Service URL to AXF tool.
- Select the AXF file from your checkout folder and the feature service layer (.LYR) as inputs.
- Execute the tool.
Step 4: Deploy your project to ArcPad and collect data.
One time configuration:
- Go to ArcPad Options, Server page, and enter your ArcGIS Online or Portal username and password.
- Check the Suppress Synchronization Downloads checkbox (*see IMPORTANT NOTES below).
- Tap OK in the ArcPad Options dialog box.
- Provision your mobile device running ArcPad by copying the ArcPad checkout folder from Step 1 to your Maps & Data folder and open the APM in ArcPad.
- Work in ArcPad, making edits and capturing features as with any other project.
- When you have a data connection and are ready to sync your edits, tap the Synchronize Data with ArcGIS Server Tool (found in the Add Layer dropdown or it can be added to a custom toolbar).
Step 5: View your field edits in ArcMap.
ArcPad will synchronize directly with the feature service – you can view or edit the feature service in ArcMap.
- In ArcMap, start a new, blank map.
- Click Add Data.
- Browse to the .LYR file that you created in Step 3 and click Add.
You can now watch your field edits come in as users in the field synchronize.
- Incremental downloads are only supported in ArcGIS Server with editor tracking enabled.
So, when using ArcGIS Online as your host, all features are downloaded to ArcPad from the server whenever you synchronize. Therefore, keep the Suppress Synchronization Downloads checkbox checked until you are ready to sync down edits from the server (from other ArcPad users or other clients editing the feature service).
- Once the local Geodatabase data is published as a feature service, any edits to the data need to occur via the feature service.
ArcPad will synchronize directly with the feature service via the workflow described above.
If you need to make edits from ArcMap, make a local copy of the service, apply your edits, then synchronize the local edits with the server.
See this Esri resource for more details:
About editing data from feature services