<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Javascript and ArcGIS Server in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778426#M150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steven,&lt;/P&gt;&lt;P&gt;I purchased a book titled :Building Web Applications with ArcGIS."&amp;nbsp; The&amp;nbsp; code below is what they provided and from the illustration in the book ; I should see the map within the code. When I run the code in chrome I see everything except the map. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;head&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;title&amp;gt;Bestaurants Web Application&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;link rel="stylesheet" href="arcgisjs/esri.css"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script src="arcgisjs/3.10/init.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;dojo.require("esri.map");&lt;/P&gt;&lt;P&gt;function startup()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; //alert("map is about to load");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //create the map object and load it into the 'mymap' div element&lt;/P&gt;&lt;P&gt;&amp;nbsp; var map = new esri.Map("mymap");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //load the layer into an object&lt;/P&gt;&lt;P&gt;&amp;nbsp; var lyr = new esri.layers.ArcGISDynamicMapServiceLayer&lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Farcgismachine%3A6080%2Farcgis%2Frest%2Fservices%2FBestaurants%2FMapServer" rel="nofollow" target="_blank"&gt;http://arcgismachine:6080/arcgis/rest/services/Bestaurants/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; //add the layer to map&lt;/P&gt;&lt;P&gt;&amp;nbsp; map.addLayer(lyr);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dojo.addOnLoad(startup);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;table border =1 width = '1000px' height = '700px' align =center&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td colspan =2 width='100%' height ='10%'&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;!-- The toolbar where we will place tools --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The toolbar that contains useful tools to interact with the map and search for restaurants&amp;nbsp; &amp;lt;b&amp;gt; (100% width and 10% height) &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td width='20%' height ='40%'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;!-- The legend of the map goes here --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The legend items go here &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;(20% width and 40% height) &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td width='80%' height ='85%' rowspan =2 valign = top&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;div id='mymap' class='arcgismap' &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td width='20%' height ='40%'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;!-- The search results will go here --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The search results goes here, we will display the search for the users in this box &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;(20% width and 40% height)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;td colspan =2 width='100%' height ='5%'&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;!-- The status bar for displaying messages goes here --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The status bar goes here&amp;nbsp; &amp;lt;b&amp;gt; (100% width and 5% height)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 17:40:05 GMT</pubDate>
    <dc:creator>PennySawyer1</dc:creator>
    <dc:date>2016-04-26T17:40:05Z</dc:date>
    <item>
      <title>Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778423#M147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to Javascript one of the assignments says to copy the c:\inetpub\wwroot; does this have to do with the web adaptor through the GIS Server?&amp;nbsp; I copied the url map service I have hosted to the GIS Server from my code and it works but I do see the map displayed. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:25:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778423#M147</guid>
      <dc:creator>PennySawyer1</dc:creator>
      <dc:date>2016-04-26T16:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778424#M148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Penny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The c:\inetpub\wwroot; has to do with Microsoft IIS on your machine. Can you provide more detail as &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;one of the assignments says to copy the c:\inetpub\wwroot;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;does not make any sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:32:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778424#M148</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-26T16:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778425#M149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think we are missing some of the information from the question.&amp;nbsp; The wwwroot folder is created when you install IIS.&amp;nbsp;&amp;nbsp; You would never need to copy it.&amp;nbsp; The wwwroot folder is where the web adaptor is installed and also where you store web applications.&amp;nbsp; Do you mean you need to copy your application to the wwwroot folder?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 16:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778425#M149</guid>
      <dc:creator>StevenGraf1</dc:creator>
      <dc:date>2016-04-26T16:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778426#M150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steven,&lt;/P&gt;&lt;P&gt;I purchased a book titled :Building Web Applications with ArcGIS."&amp;nbsp; The&amp;nbsp; code below is what they provided and from the illustration in the book ; I should see the map within the code. When I run the code in chrome I see everything except the map. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;head&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;lt;title&amp;gt;Bestaurants Web Application&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;link rel="stylesheet" href="arcgisjs/esri.css"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script src="arcgisjs/3.10/init.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;dojo.require("esri.map");&lt;/P&gt;&lt;P&gt;function startup()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; //alert("map is about to load");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //create the map object and load it into the 'mymap' div element&lt;/P&gt;&lt;P&gt;&amp;nbsp; var map = new esri.Map("mymap");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; //load the layer into an object&lt;/P&gt;&lt;P&gt;&amp;nbsp; var lyr = new esri.layers.ArcGISDynamicMapServiceLayer&lt;/P&gt;&lt;P&gt;&amp;nbsp; (&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Farcgismachine%3A6080%2Farcgis%2Frest%2Fservices%2FBestaurants%2FMapServer" rel="nofollow" target="_blank"&gt;http://arcgismachine:6080/arcgis/rest/services/Bestaurants/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; //add the layer to map&lt;/P&gt;&lt;P&gt;&amp;nbsp; map.addLayer(lyr);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dojo.addOnLoad(startup);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;table border =1 width = '1000px' height = '700px' align =center&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td colspan =2 width='100%' height ='10%'&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;!-- The toolbar where we will place tools --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The toolbar that contains useful tools to interact with the map and search for restaurants&amp;nbsp; &amp;lt;b&amp;gt; (100% width and 10% height) &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td width='20%' height ='40%'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;!-- The legend of the map goes here --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The legend items go here &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;(20% width and 40% height) &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td width='80%' height ='85%' rowspan =2 valign = top&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;div id='mymap' class='arcgismap' &amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td width='20%' height ='40%'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;!-- The search results will go here --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The search results goes here, we will display the search for the users in this box &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;(20% width and 40% height)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;td colspan =2 width='100%' height ='5%'&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;!-- The status bar for displaying messages goes here --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The status bar goes here&amp;nbsp; &amp;lt;b&amp;gt; (100% width and 5% height)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 17:40:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778426#M150</guid>
      <dc:creator>PennySawyer1</dc:creator>
      <dc:date>2016-04-26T17:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778427#M151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I checked on our GIS Server and we do not have a web adapter.&amp;nbsp; Part of the exercise is that I copy c:\inetpub\wwroot. I guess that make since why I am not seeing the map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 17:50:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778427#M151</guid>
      <dc:creator>PennySawyer1</dc:creator>
      <dc:date>2016-04-26T17:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778428#M152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have the local esri.css, init.js, and dynamic map service so I replaced the URLS with some from Esri's developer site and it works.&amp;nbsp; I suspect that the file path to your esri css, init js or dynamic map service layer isn't correct.&amp;nbsp; You aren't specifying a basemap on your new esri.Map request so all you would see is the dynamic map service layer.&amp;nbsp; Your dynamic service url says '&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Farcgismachine%3A6080%2Farcgis%2Frest%2Fservices%2FBestaurants%2FMapServer" style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #287433;" target="_blank"&gt;arcgismachine&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;'&amp;nbsp; You may need to replace that with your computer name or is that your computer name?&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Bestaurants Web Application&amp;lt;/title&amp;gt;
&lt;SPAN&gt;&amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.16%2Fesri%2Fcss%2Fesri.css" target="_blank"&gt;https://js.arcgis.com/3.16/esri/css/esri.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;
&lt;SPAN&gt;&amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F3.16%2F" target="_blank"&gt;https://js.arcgis.com/3.16/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;

&amp;lt;script&amp;gt;
dojo.require("esri.map");
function startup()
{
&amp;nbsp; //alert("map is about to load");

&amp;nbsp; //create the map object and load it into the 'mymap' div element
&amp;nbsp; var map = new esri.Map("mymap");

&amp;nbsp; //load the layer into an object
&amp;nbsp; var lyr = new esri.layers.ArcGISDynamicMapServiceLayer
&amp;nbsp; (
&lt;SPAN&gt;&amp;nbsp; "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fsampleserver1.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FDemographics%2FESRI_Population_World%2FMapServer" target="_blank"&gt;https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Population_World/MapServer&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;
&amp;nbsp; );
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp; //add the layer to map
&amp;nbsp; map.addLayer(lyr);

}

dojo.addOnLoad(startup);


&amp;lt;/script&amp;gt;

&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;

&amp;lt;table border =1 width = '1000px' height = '700px' align =center&amp;gt;


&amp;lt;tr&amp;gt;
&amp;lt;td colspan =2 width='100%' height ='10%'&amp;gt;
&amp;nbsp; &amp;lt;!-- The toolbar where we will place tools --&amp;gt;
&amp;nbsp; The toolbar that contains useful tools to interact with the map and search for restaurants&amp;nbsp; &amp;lt;b&amp;gt; (100% width and 10% height) &amp;lt;/b&amp;gt;
&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;




&amp;lt;tr&amp;gt;
&amp;lt;td width='20%' height ='40%'&amp;gt;
&amp;nbsp; &amp;lt;!-- The legend of the map goes here --&amp;gt;
&amp;nbsp; The legend items go here &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;(20% width and 40% height) &amp;lt;/b&amp;gt;
&amp;lt;/td&amp;gt;
&amp;lt;td width='80%' height ='85%' rowspan =2 valign = top&amp;gt;
&amp;nbsp; &amp;lt;div id='mymap' class='arcgismap' &amp;gt;
&amp;nbsp; &amp;lt;/div&amp;gt;
&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;


&amp;lt;tr&amp;gt;
&amp;lt;td width='20%' height ='40%'&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;!-- The search results will go here --&amp;gt;
&amp;nbsp;&amp;nbsp; The search results goes here, we will display the search for the users in this box &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;(20% width and 40% height)&amp;lt;/b&amp;gt;
&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;


&amp;lt;tr&amp;gt;

&amp;nbsp; &amp;lt;td colspan =2 width='100%' height ='5%'&amp;gt;
&amp;nbsp; &amp;lt;!-- The status bar for displaying messages goes here --&amp;gt;
&amp;nbsp; The status bar goes here&amp;nbsp; &amp;lt;b&amp;gt; (100% width and 5% height)&amp;lt;/b&amp;gt;
&amp;nbsp; &amp;lt;/td&amp;gt;


&amp;lt;/tr&amp;gt;

&amp;lt;/table&amp;gt;




&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:46:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778428#M152</guid>
      <dc:creator>StevenGraf1</dc:creator>
      <dc:date>2021-12-12T08:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778429#M153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need the web adaptor.&amp;nbsp; When you have :6080 in your url, you are basically going directly to arcgis server and skipping a web adaptor if one was present.&amp;nbsp; Are there any features in your bestaurants layer?&amp;nbsp; I'm still not sure what the exercise means when it says to copy the c:\inetpub\wwwroot.&amp;nbsp; Could you upload a photo of the exercise or type out the exercise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 18:00:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778429#M153</guid>
      <dc:creator>StevenGraf1</dc:creator>
      <dc:date>2016-04-26T18:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778430#M154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got to love Google..I found the exact exercise. It's telling you to copy the html file (or your entire web page folder) you made to the c:\inetpub\wwwroot folder.&amp;nbsp; This isn't really necessary for development.&amp;nbsp; You can launch the html page from any folder.&amp;nbsp; Once you put it in the wwwroot folder you could access it from anywhere via a url.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 18:08:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778430#M154</guid>
      <dc:creator>StevenGraf1</dc:creator>
      <dc:date>2016-04-26T18:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778431#M155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is my code that I wrote. When I run it from google chrome the url opens. Like I said I am just not seeing a visual of the map. I know it must be because, I do not have a web adapter installed to our GIS Server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;title&amp;gt;Bestaurants Web Application&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;link rel= "stylesheet" href="arcgisjs/esri.css"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script src="arcgisjs/3.10/init.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;dojo.required ("esri.map");&lt;/P&gt;&lt;P&gt;function startup()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; //alert ("map is about to load");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; //create the map object and load it in 'mymap' div element&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; var map = new esri.Map ("mymap")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; //load the map into an object&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; var lyr = new esri.layers.ArcGISDynamicMapServiceLayer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgis.newtonnc.gov%3A6080%2Farcgis%2Fmanager%2F%23f%3DBuildingWebApps" rel="nofollow" target="_blank"&gt;http://gis.newtonnc.gov:6080/arcgis/manager/#f=BuildingWebApps&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; );&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; //add the layer to map&lt;/P&gt;&lt;P&gt;&amp;nbsp; map.addLayer(lyr);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; dojo.addOnLoad (startup);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;table border =1 width = '1000px' height = '700px' align =center&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td colspan =2 width='100%' height ='10%'&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;!-- The toolbar where we will place tools --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The toolbar that contains useful tools to interact with the map and search for restaurants&amp;nbsp; &amp;lt;b&amp;gt; (100% width and 10% height) &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td width='20%' height ='40%'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;!-- The legend of the map goes here --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The legend items go here &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;(20% width and 40% height) &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td width='80%' height ='85%' rowspan =2 valign = top&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;div id='mymap'class= "arcgismap"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td width='20%' height ='40%'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;!-- The search results will go here --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The search results goes here, we will display the search for the users in this box &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;(20% width and 40% height)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;td colspan =2 width='100%' height ='5%'&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;!-- The status bar for displaying messages goes here --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The status bar goes here&amp;nbsp; &amp;lt;b&amp;gt; (100% width and 5% height)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 18:11:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778431#M155</guid>
      <dc:creator>PennySawyer1</dc:creator>
      <dc:date>2016-04-26T18:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778432#M156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that's the issue.&amp;nbsp; You can load services without a web adaptor.&amp;nbsp; Your URL to your dynamic map service is wrong.&amp;nbsp; Dynamic map services must end with /MapServer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&amp;nbsp; &lt;A href="http://gis.newtonnc.gov:6080/rest/services/bestaurants/MapServer" title="http://gis.newtonnc.gov:6080/rest/services/bestaurants/MapServer"&gt;http://gis.newtonnc.gov:6080/rest/services/bestaurants/MapServer&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 18:17:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778432#M156</guid>
      <dc:creator>StevenGraf1</dc:creator>
      <dc:date>2016-04-26T18:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript and ArcGIS Server</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778433#M157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Steven for all your help. Now i have a better understanding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 19:39:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/javascript-and-arcgis-server/m-p/778433#M157</guid>
      <dc:creator>PennySawyer1</dc:creator>
      <dc:date>2016-04-26T19:39:20Z</dc:date>
    </item>
  </channel>
</rss>

