How to access shapefile content on arcgis.com

664
1
01-25-2012 10:27 AM
ElizabethMiller
New Contributor III
I can load a shapefile to My Content. I can access that shapefile in my webmap if I used the canned webmap template. But how can I access it from my own ArcGIS API for Javascript file? I don't have the ability to create a service of this particular file.

Any other suggestions for alternatives for how to access my content that is not a service?

Thanks!
0 Kudos
1 Reply
derekswingley1
Frequent Contributor
Once you have a shapefile in a webmap, you can access the webmap via the JS API's createMap utility method. If you need more granular control, use getItem which will give you the item as JSON.
0 Kudos