Technical Workshops | Esri International User Conference San Diego, California Customizing ArcPad solutions Marika Vertzonis, Gareth Walters, Stephen Quan 25 July 2012
Session Outline What can be customized? Custom Projects - Forms Editing - Toolbar editing - Scripting Business Logic - Shortcut Apps Harnessing SQL Extending beyond ArcPad Geoprocessing
Toolbars and Tools FormsDataProjects
Do I need to be a programmer? * But sometimes it Helps Helps * No programming skills required Full on code jockey Extensions Simple Toolbars, Basic data capture forms, Symbology Scripted Forms & Applets
ArcPad customized
Toolbars and Tools FormsData Preferences Scripting Business Rules People Management Anatomy of projects
Where do your customizations go? “My ArcPad” folder - “per user” on desktop systems - “per device” on Windows Mobile systems - Preferences and configuration files “ArcPad” folder - Common to all users on desktop systems - Templates - Applets - Styles - Datum configuration Your project folder(s) - Could hold all files - App - Good for deployment
Custom Projects Configuration - Forms - Toolbars - Preferences - Shortcut Apps - Incorporation of business logic Data - Definition Queries Map + + Customizations ShortcutDeploy
Forms Edit: - Feature & Related Tables - Used for data capture and edit Identify - Used when identifying features. - If not present uses Edit form in read-only mode Query - Added to Find dialog - Search template, just fill in the boxes “Other” - Application specific forms
Forms Editing Demo
Toolbars System QuickCapture - Dynamic Editing Map Navigator Status Bar Custom
Preferences & Configuration Application Project User
App Shortcuts Start ArcPad with a range of command line options and parameters (.LNK) On Windows Mobile :- - \Windows\Start Menu\Programs\ArcPad App App Icon (.ICO) extracted and saved in project folder with same name as map
Preferences Demo
Business Logic Embed in ArcGIS GeoDatabase - Domains & Subtypes Extend via Scripting - Data Validation
Business Rules Demo
Data Background - Not editable - Reference - Information Only (Vectors) - Read Only - For visual reference only (Raster or Vector) Operational - Editable - focused on field task (not ALL available data) Demo Theater Session: Preparing & Deploying data to ArcPad
Scripting environments available for ArcPad JavaScript, VBScript & Python Event Driven - Application - Forms/Controls - System Objects (eg GPS) ArcPad Object Model Execute SQL Commands
ArcGIS Online Help Check out the new Python samples here
SQL Definition Queries Query Forms Use standard SQL to edit/maintain data - SELECT - UPDATE - DELETE
Definition Queries ArcMap ArcPad Studio Dynamically via Layers.Filter()
Query Forms Query forms are search “templates” that automatically get added to the “Find” dialog Default query form automatically created for each feature class Useful for simplifying field work flows requiring repeatedly performed searches
SQL editing DataSource object’s Execute method allows any SQL statement to be run against the AXF file - Bulk Updates - Bulk Deletes - Statistical queries (Aggregate functions) - Sort records - Copy data between tables Much faster than iterating with RecordSet object
Bulk Edits SQL Demo
ArcPad Extensions Camera GPS Projection Vector / Raster Rangefinder Datum Transform
Camera Extensions Custom Image Sources Camera SDK Sketch Direct Show ArcPad VFW Camera
Extending Scripting with Extensions quality, hwnd)
Geoprocessing Data management Automation
Geoprocessing Demo
ArcPad Release in the Fall - Support for ArcGIS Server Further integration with ArcGIS Online - HTML forms with JavaScript - Form customization in ArcPad Beyond ArcPad Core ArcPad functionality on iOS, Android, WP7, WP8 - HTML forms - Unmanaged data collection - Related table support The Road Ahead
Resources Make your suggestions known : Resources Team blog Twitter