ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley...
-
Upload
eustace-obrien -
Category
Documents
-
view
237 -
download
0
Transcript of ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley...
![Page 1: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/1.jpg)
ArcGIS Runtime SDK for iOS:Debugging Offline Feature Editing
Garima Dhakal@GarimaDhakal
Bradley Snider@bjsnider
&)
&)
![Page 2: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/2.jpg)
Strengthen your skills in troubleshooting iOS offline feature editing applications.
Goal
!
![Page 3: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/3.jpg)
Who here has worked with the ArcGIS Runtime SDK for iOS? Offline editing?
![Page 4: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/4.jpg)
Agenda
![Page 5: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/5.jpg)
Agenda
![Page 6: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/6.jpg)
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
![Page 7: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/7.jpg)
Tile Package
AGSExportTileCacheTask
ArcMap
iTunes/file share
Data preparation
Download cachedtiles
![Page 8: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/8.jpg)
Sync-enabled feature service
Feature class
Sync-enabledfeature service
% Enterprise geodatabase% Enable archiving% Create Global IDs% Enable attachments (optional)% Versioned (10.3+) or non-versioned data
Data preparation
![Page 9: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/9.jpg)
Creation date
PIN gdb_from_date gdb_to_date116 7/23/2015 12:32 12/31/9999
Data preparation
Archiving – record and access changes made to a dataset over time
Modification/deletion date
12/31/9999 null ⇒
![Page 10: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/10.jpg)
Add feature
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999
116
117
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999117 7/20/2015 13:30 12/31/9999
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999117 7/23/2015 13:33 12/31/9999
Data preparation
Creation dateModification/deletion date
![Page 11: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/11.jpg)
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999117 7/20/2015 13:30 12/31/9999
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999117 7/20/2015 13:30 7/23/2015 12:34117 7/23/2015 12:34 12/31/9999
116
117117
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999117 7/20/2015 13:30 7/23/2015 12:34117 7/23/2015 12:34 12/31/9999
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999117 7/20/2015 13:30 12/31/9999
Update feature
Data preparation
Creation dateModification/deletion date
![Page 12: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/12.jpg)
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999117 7/20/2015 13:30 12/31/9999
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999117 7/20/2015 13:30 7/23/2015 12:34
116
117
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999117 7/20/2015 13:30 12/31/9999
PIN gdb_from_date gdb_to_date116 7/12/2015 17:34 12/31/9999117 7/23/2015 13:30 7/23/2015 12:36
Delete feature
Data preparation
Creation dateModification/deletion date
![Page 13: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/13.jpg)
Agenda
![Page 14: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/14.jpg)
Offline editing workflow
Offline workflow
![Page 15: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/15.jpg)
ViewQuery
AnalyzeUpdate
AddDeleteAGSGDBSyncTask
syncGeodatabase
generateGeodatabaseWithParameters
Sync-enabled feature service
Offline workflow
Download only
Uploadonly
Bidirectional
![Page 16: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/16.jpg)
Agenda
![Page 17: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/17.jpg)
#
'
%(
$
Potential hiccups
# Strong connection# Intranet? Use internal wifi
Network
![Page 18: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/18.jpg)
#
'
%(
$
Potential hiccups
Device
$ iOS version (iOS 7, 8,…)$ Device type (iPhone/iPad)$ Device version (iPad 1,2,…)
![Page 19: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/19.jpg)
$
#
'%
(
Code
Potential hiccups
( Set breakpoints( Print to console
![Page 20: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/20.jpg)
Potential hiccups
Code - Editing and sync error codes
![Page 21: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/21.jpg)
(
$
#'
%
Data
Potential hiccups
% Non-nullable field% Attachments with global ID
Code
![Page 22: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/22.jpg)
%
(
$#
'
Security
Potential hiccups
' Use AGSCredential class' Online: ClientID' Server: username/password
![Page 23: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/23.jpg)
Agenda
![Page 24: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/24.jpg)
Agenda
![Page 25: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/25.jpg)
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
![Page 26: ArcGIS Runtime SDK for iOS: Debugging Offline Feature Editing Garima Dhakal @GarimaDhakal Bradley Snider @bjsnider &)&) &)&)](https://reader036.fdocuments.us/reader036/viewer/2022062423/56649eef5503460f94bfec19/html5/thumbnails/26.jpg)