Presentation is loading. Please wait.

Presentation is loading. Please wait.

ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Bradley &)&) &)&)

Similar presentations


Presentation on theme: "ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Bradley &)&) &)&)"— Presentation transcript:

1 ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)

2 Strengthen your skills in troubleshooting iOS offline feature editing applications. Goal !

3 Who here has worked with the ArcGIS Runtime SDK for iOS? Offline editing?

4 Agenda Data preparationOffline workflowPotential hiccups Demo: Downloading, editing, and syncing

5 Agenda Data preparationOffline workflowPotential hiccups Demo: Downloading, editing, and syncing

6 Desktop pattern Service pattern # Consume runtime content from ArcMap # Read-only data # Best for infrequent updates # Download data # Update, add, delete # Changes applied after sync Data preparation

7 Tile Package AGSExportTileCacheTask ArcMap iTunes/ file share Data preparation Download cached tiles

8 Sync-enabled feature service Feature class Sync-enabled feature service % Enterprise geodatabase % Enable archiving % Create Global IDs % Enable attachments (optional) % Versioned (10.3+) or non-versioned data Data preparation

9 Creation date PINgdb_from_dategdb_to_date 1167/23/2015 12:3212/31/9999 Data preparation Archiving – record and access changes made to a dataset over time Modification/ deletion date 12/31/9999 ⇒ null

10 Add feature PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 116 117 PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 1177/20/2015 13:3012/31/9999 PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 1177/23/2015 13:3312/31/9999 Data preparation Creation date Modification/ deletion date

11 PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 1177/20/2015 13:3012/31/9999 PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 1177/20/2015 13:307/23/2015 12:34 1177/23/2015 12:3412/31/9999 116 117 PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 1177/20/2015 13:307/23/2015 12:34 1177/23/2015 12:3412/31/9999 PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 1177/20/2015 13:3012/31/9999 Update feature Data preparation Creation date Modification/ deletion date

12 PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 1177/20/2015 13:3012/31/9999 PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 1177/20/2015 13:307/23/2015 12:34 116 117 PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 1177/20/2015 13:3012/31/9999 PINgdb_from_dategdb_to_date 1167/12/2015 17:3412/31/9999 1177/23/2015 13:307/23/2015 12:36 Delete feature Data preparation Creation date Modification/ deletion date

13 Agenda Data preparationOffline workflowPotential hiccups Demo: Add, update, and delete features

14 Offline editing workflow Download data Access data and edit Apply changes Offline workflow

15 View Query Analyze Update Add Delete AGSGDBSyncTask syncGeodatabase generateGeodatabaseWithParameters Sync-enabled feature service Offline workflow Download only Upload only Bidirectional

16 Agenda Data preparationOffline workflowPotential hiccups Demo: Downloading, editing, and syncing

17 # ' %( $ Potential hiccups # Strong connection # Intranet? Use internal wifi Network

18 # ' %( $ Potential hiccups Device $ iOS version (iOS 7, 8,…) $ Device type (iPhone/iPad) $ Device version (iPad 1,2,…)

19 $ # '% ( Code Potential hiccups ( Set breakpoints ( Print to console

20 Potential hiccups Code - E diting and sync error codes

21 ( $ #' % Data Potential hiccups % Non-nullable field % Attachments with global ID Code

22 % ( $ # ' Security Potential hiccups ' Use AGSCredential class ' Online: ClientID ' Server: username/password

23 Agenda Data preparationOffline workflowPotential hiccups Demo: Add, update, and delete features

24 Agenda Data preparationOffline workflowPotential hiccups Demo: Downloading, editing, and syncing

25 Thank you… Please fill out the session survey in your mobile app Select ‘Debugging Offline Editing using ArcGIS Runtime SDK for iOS in the Mobile App - Use the Search Feature to quickly find this title Click “Demo Theater Survey” Answer a few short questions

26


Download ppt "ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Bradley &)&) &)&)"

Similar presentations


Ads by Google