NOTE: This app uses advanced ArcGIS services and OAuth. Please register for a free ArcGIS Developer Subscription to run this sample.