Select to view content in your preferred language

Access to attributes of uploaded or created data in applications

502
1
10-19-2011 03:35 AM
GeorgeBowman
Emerging Contributor
I am loving the possibility of utilizing the application facilities that I have seen so far but want to be able to programmatically access attributes of map data that is not a service but has either been uploaded or created with add feature. I have not yet gotten deeply into the JavaScript APIs and, if it already exists, can anyone point me to the right one to be reviewing. If this facility does not exist, please put it on the front burner.

My primary use for the applications that I see immediately is to put my data out to my user community and have them review / edit / add locations and other attributes. I need to capture this activity to update my database with user supplied information.
Tags (2)
0 Kudos
1 Reply
MikeMinami
Esri Notable Contributor
Yes, access to attribute information is available through the JavaScript API. You can display a web map authored in ArcGIS.com in your own application and then access the attributes of the feature layers inside the map. Here are some samples from the documentation that should help you get started. There are many more samples in the doc.

This sample application displays a web map generated using the ArcGIS.com map viewer.
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/ags_createwebmapid.html

This sample shows how to page through features in a feature layer and as you navigate through the pages in the table the features for the current page are displayed.
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_displayvisible.html

I'd also suggest using this forum for additional information on the JavaScript API.
http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript

hope this helps,

Mike
0 Kudos