Customizing the template projects (mainly the Basic Viewer template)

Discussion created by hubertlo on Aug 8, 2012
Latest reply on Aug 8, 2012 by hubertlo
The template projects from WebMap have been very helpful to get my own projects going. However I have some questions about how I can modify certain "features" on them from within the files downloaded.

1. Where are the Layers URLs stored? Which file is it? I have searched the index.html and layout.html, but nothing turns up.

2. In the Basic Viewer template, where are the JavaScript codes that create/populate the Layers menu dropdown? I am thinking of adding my own custom (graphics) layers to the same drop down.

3. If my clients have their own ArcGIS server and want the application to feed off their servers for layers/basemaps; how can I change them from within the html/JavaScript codes?