<?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: How do get my modification of the responsive-citizens app to work? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-get-my-modification-of-the-responsive/m-p/336979#M31154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you run the app with the dev tools open you'll see an error from line 144 of main.js. In that line of code you are setting the innerHTML property of an undefined div.&amp;nbsp; To test this set a breakpoint at line 144, run your app and then hover over app.requestTypeSelect and you'll see that its undefined. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; app.requestTypeSelect.innerHTML = options.join('');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 16:22:01 GMT</pubDate>
    <dc:creator>KellyHutchins</dc:creator>
    <dc:date>2015-04-07T16:22:01Z</dc:date>
    <item>
      <title>How do get my modification of the responsive-citizens app to work?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-get-my-modification-of-the-responsive/m-p/336978#M31153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used this example as my base for creating an editing app: &lt;A href="https://github.com/tomwayson/responsive-citizens" title="https://github.com/tomwayson/responsive-citizens"&gt;tomwayson/responsive-citizens · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first thing I did was to attempt to replace the form but after attempting to comment fields that I don't need and JavaScript that I thought I did not need, the app is not running. What needs changed so that I can see the map, the fields and insert the data into our web server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my live non-working app: &lt;A href="http://maps.decaturil.gov/streetsigns/" title="http://maps.decaturil.gov/streetsigns/"&gt;Street Signs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is the complete non-working application on Github: &lt;A href="https://github.com/csergent45/streetSigns" title="https://github.com/csergent45/streetSigns"&gt;csergent45/streetSigns · GitHub&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 20:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-get-my-modification-of-the-responsive/m-p/336978#M31153</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-04-06T20:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do get my modification of the responsive-citizens app to work?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-get-my-modification-of-the-responsive/m-p/336979#M31154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you run the app with the dev tools open you'll see an error from line 144 of main.js. In that line of code you are setting the innerHTML property of an undefined div.&amp;nbsp; To test this set a breakpoint at line 144, run your app and then hover over app.requestTypeSelect and you'll see that its undefined. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; app.requestTypeSelect.innerHTML = options.join('');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 16:22:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-get-my-modification-of-the-responsive/m-p/336979#M31154</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2015-04-07T16:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do get my modification of the responsive-citizens app to work?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-get-my-modification-of-the-responsive/m-p/336980#M31155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay that was appeared to be populating a dropdown list that I now have commented out. I updated the function to just initAttributeForm(); but now it displays undefined. And uploaded it to Github.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 18:47:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-get-my-modification-of-the-responsive/m-p/336980#M31155</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-04-07T18:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do get my modification of the responsive-citizens app to work?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-get-my-modification-of-the-responsive/m-p/336981#M31156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; var initAttributeForm = function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var options = [];
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 




&amp;nbsp;&amp;nbsp;&amp;nbsp; //// initialize the request type drop down&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; //var initAttributeForm = function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp; var options = [];
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var key in app.requestTypeFieldDomainCodedValuesDict) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (app.requestTypeFieldDomainCodedValuesDict.hasOwnProperty(key)) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; options.push('&amp;lt;option value="' + key + '"&amp;gt;' + app.requestTypeFieldDomainCodedValuesDict[key] + '&amp;lt;/option&amp;gt;');
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp;&amp;nbsp; app.requestTypeSelect.innerHTML = options.join('');
&amp;nbsp;&amp;nbsp;&amp;nbsp; //};&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I think I need to update the fields to display so they can be updated. And I need to figure out what is causing the form to pop-up as I will have two web services once all is said and done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm am going to close this question so my others that I probably will have will be error specific just in case someone runs into the same type of error for something else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-get-my-modification-of-the-responsive/m-p/336981#M31156</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2021-12-11T15:57:34Z</dc:date>
    </item>
  </channel>
</rss>

