Hi,
I had configured IIS in local system and it serving the web pages. I copied the arcgis_js_api in c:\Inetpub\wwwroot
as instructed in ESRI's ArcGIS API for JavaScript.
- Open
C:\Inetpub\wwwroot\arcgis_js_api\library\4.1\4.1\init.js in a text editor and search for the text[HOSTNAME_AND_PATH_TO_JSAPI], and replace this text with<SPAN><a href="</SPAN><A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTop-level_domain" target="_blank">https://en.wikipedia.org/wiki/Top-level_domain</A><SPAN>">fqdn.tld</a>/arcgis_js_api/library/4.1/4.1/</SPAN>
I replaced <a href="https://en.wikipedia.org/wiki/Top-level_domain">fqdn.tld</a>/arcgis_js_api/library/4.1/4.1/ with [HOSTNAME_AND_PATH_TO_JSAPI] in C:\inetpub\wwwroot\arcgis_js_api\library\4.1\4.1\init.js. I suspect here I am doing the mistake in above step.
I took the sample code from
file:///E:/Software/ArcGIS%20API%20for%20JavaScript/arcgis_js_v41_api/arcgis_js_api/library/downloads/index.html but I unable to see the result.
When I try to access .css/init.js which is hosted in local server, I can browse in browser. I changed the TileLayer URL REST service and it also browse in the browser.
What step I am missing here?
Thanks In Advance.