Select to view content in your preferred language

Mix API with Built-in Templates?

559
3
10-16-2011 09:21 AM
johnywhy
Emerging Contributor
Hi

If I create an application using the pre-built templates, can I control the app with the JavaScript API? How?

Or do I have to code the whole app from scratch with the JavaScript API?

Thanks!
Tags (2)
0 Kudos
3 Replies
MikeMinami
Esri Notable Contributor
If you can program in JavaScript, then you can extend your application. Use the JavaScript API for controlling the map and other components we provide.

http://help.arcgis.com/en/webapi/javascript/arcgis/

Also, the JavaScript API forums may be helpful.

http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript

Note that you'll need to use the download option to get the source code for the application to modify it. Once modified, you'll need to host the application yourself on your web server. We don't support modifying an application that is published to arcgis online.

Thanks,

Mike
0 Kudos
johnywhy
Emerging Contributor
Where is the "download option"?

Thanks!
0 Kudos
johnywhy
Emerging Contributor
ok, i got it when i clicked "share>application" in the online map-viewer.
thanks!
0 Kudos