<?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 Javascript application, I'm doing it wrong? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467363#M43339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I downloaded the "Basic Viewer" JavaScript template and extracted it all into the "www" directory on my web server. I edited the .html with my AGOL webmap id as well as a couple other fields like title, owner, description, etc. yet all I get when I go to the page is a blank browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there more I need to do? I read about a configuration file (other than the commonConfig.js and the configuration_panel.js) but I don't know where that is or what to do with it if I find it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached my index file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks everyone!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 May 2014 13:42:11 GMT</pubDate>
    <dc:creator>MichaelThompson2</dc:creator>
    <dc:date>2014-05-27T13:42:11Z</dc:date>
    <item>
      <title>Javascript application, I'm doing it wrong?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467363#M43339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I downloaded the "Basic Viewer" JavaScript template and extracted it all into the "www" directory on my web server. I edited the .html with my AGOL webmap id as well as a couple other fields like title, owner, description, etc. yet all I get when I go to the page is a blank browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there more I need to do? I read about a configuration file (other than the commonConfig.js and the configuration_panel.js) but I don't know where that is or what to do with it if I find it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached my index file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks everyone!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 13:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467363#M43339</guid>
      <dc:creator>MichaelThompson2</dc:creator>
      <dc:date>2014-05-27T13:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript application, I'm doing it wrong?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467364#M43340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did it work before you made any modifications? Maybe start over fresh and see.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just downloaded and unzipped the template without modification and it worked fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does you javascript console show any errors?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 18:34:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467364#M43340</guid>
      <dc:creator>MatthewLofgren</dc:creator>
      <dc:date>2014-05-27T18:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript application, I'm doing it wrong?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467365#M43341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would open it in Chrome with the Developer Tools open in the Console tab and look for errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would also make sure you are hosting the application, and not running it from file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 22:09:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467365#M43341</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2014-05-27T22:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript application, I'm doing it wrong?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467366#M43342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Michael,&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure you have the other .js, .css, etc files with the associated index.html.&amp;nbsp; Your index.html file appears to be correct.&amp;nbsp; I've zipped up the other files that are needed to have the application work.&amp;nbsp; You can extract this to your C:\inetpub\wwwroot folder, and then access the application by going to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;server name&amp;gt;/BasicViewer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 10:30:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467366#M43342</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2014-05-28T10:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript application, I'm doing it wrong?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467367#M43343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Michael,&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Make sure you have the other .js, .css, etc files with the associated index.html.&amp;nbsp; Your index.html file appears to be correct.&amp;nbsp; I've zipped up the other files that are needed to have the application work.&amp;nbsp; You can extract this to your C:\inetpub\wwwroot folder, and then access the application by going to:&lt;BR /&gt;&lt;BR /&gt;http://&amp;lt;server name&amp;gt;/BasicViewer&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had all the template files in the right directory, there must have just been an error somewhere in my code. I did like another poster suggested and just wiped it all out and started over and it works fine now. I only use Linux so C:\ isn't an option &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help everyone, this is an interesting way to learn to work with JavaScript but I am starting to get the hang of it. Now off to download and try out some of the other JS templates!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 May 2014 19:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/javascript-application-i-m-doing-it-wrong/m-p/467367#M43343</guid>
      <dc:creator>MichaelThompson2</dc:creator>
      <dc:date>2014-05-28T19:33:18Z</dc:date>
    </item>
  </channel>
</rss>

