gauri_d

TOC widget  with Arcgis api for javascript

Discussion created by gauri_d on Apr 6, 2014
Latest reply on Apr 11, 2014 by gauri_d
I downloaded the TOC widget from here
when I open toc.html from examples folder i dont see any map or TOC widget.

I need to know that what is the correct path or location for agsjs folder in

dojoConfig{
"location": location.pathname.replace(/\/[^/]+$/, "")+'build/agsjs'      ????
  }
Please tell me the correct method where to keep the agsjs folder and which agsjs folder should i use(from src or build)

getting an error like
NS_ERROR_DOM_BAD_URI: Access to restricted URI denied
or
NetworkError: 404 Not Found

Outcomes