<?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: Social Media App and Geocoding Service in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514190#M25930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks again Ian!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My last question (hopefully!)...is there a way to have the app autofill options as you start typing in text?&amp;nbsp; This happens in the web map on ArcGIS Online.&amp;nbsp; I think it's very useful for the end user and I'd like to have this ability in the app as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks as always!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32731[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Apr 2014 12:27:12 GMT</pubDate>
    <dc:creator>mpboyle</dc:creator>
    <dc:date>2014-04-02T12:27:12Z</dc:date>
    <item>
      <title>Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514182#M25922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have downloaded the social media web app template and am wondering why when I plug in our own geocode service the entire search box disappears? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is a place within the commonConfig.js file to enter a URL for a geocode service, however when I enter ours, the search box disappears.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas would be greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 19:35:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514182#M25922</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2014-03-13T19:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514183#M25923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;There is a place within the commonConfig.js file to enter a URL for a geocode service, however when I enter ours, the search box disappears.&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try defining the singleLineFieldName and setting placefinding to true as in this example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32221[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Mar 2014 16:30:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514183#M25923</guid>
      <dc:creator>IanWittenmyer</dc:creator>
      <dc:date>2014-03-16T16:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514184#M25924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply Ian.&amp;nbsp; I have made the additions to the commonConfig.js file and the search box now appears, however I'm getting an error when searching for addresses that are within our locator.&amp;nbsp; Attached is what I have input into the commonConfig.js file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to replace any values I currently have?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 17:11:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514184#M25924</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2014-03-17T17:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514185#M25925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Do I need to replace any values I currently have?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Matt, the singleLineFieldName should match the value your geocode server is expecting.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;On your server the value is 'Single Line Input'. So in your code it should look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;singleLineFieldName: "Single Line Input",&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you located in Cedar Rapids?&amp;nbsp; I worked in the great america building for 6 years.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 14:04:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514185#M25925</guid>
      <dc:creator>IanWittenmyer</dc:creator>
      <dc:date>2014-03-18T14:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514186#M25926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot Ian!&amp;nbsp; Geocoder works like expected now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you happen to know how to set the zoom level when an address is selected?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And yes, I am located in Cedar Rapids, working for Linn County.&amp;nbsp; It's a small world!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 13:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514186#M25926</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2014-03-19T13:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514187#M25927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks a lot Ian!&amp;nbsp; Geocoder works like expected now.&lt;BR /&gt;&lt;BR /&gt;Would you happen to know how to set the zoom level when an address is selected?&lt;BR /&gt;&lt;BR /&gt;And yes, I am located in Cedar Rapids, working for Linn County.&amp;nbsp; It's a small world!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cool, i had a fun time in Cedar Rapids. To set the zoom level you can try adding this to zoomScale: 400, to the js\modules\utils.js around line 83.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is some additional info on it. &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/geocoder.html#zoomscale"&gt;https://developers.arcgis.com/javascript/jsapi/geocoder.html#zoomscale&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 15:21:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514187#M25927</guid>
      <dc:creator>IanWittenmyer</dc:creator>
      <dc:date>2014-03-19T15:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514188#M25928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've created a composite locator and am wondering if that can be used...?&amp;nbsp; Below is what I in the geocode parameter of the commonConfig file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;geocode: [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: location.protocol + "http://gis.linncounty.org/arcgis/rest/services/PublicBase/LocatorComposite/GeocodeServer",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "LocatorComposite",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; singleLineFieldName: "Single Line Input",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; placefinding: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; placeholder: "Find an Address or GPN"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }]&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It doesn't seem to be working so I'm wondering what part of the code is wrong or if a composite locator can be used?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:28:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514188#M25928</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2021-12-11T22:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514189#M25929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you can use a composite locator with the templates.&amp;nbsp; In your code, the URL and the singleLineFieldName need to be changed. The singleLineFieldName can be determined by checking the 'Single Line Address Field' value of a geocode server, in this case it was "SingleLine".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;geocode: [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: location.protocol + "//gis.linncounty.org/arcgis/rest/services/PublicBase/LocatorComposite/GeocodeServer",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "LocatorComposite",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; singleLineFieldName: "SingleLine",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; placefinding: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; placeholder: "Find an Address or GPN"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }]&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:28:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514189#M25929</guid>
      <dc:creator>IanWittenmyer</dc:creator>
      <dc:date>2021-12-11T22:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514190#M25930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks again Ian!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My last question (hopefully!)...is there a way to have the app autofill options as you start typing in text?&amp;nbsp; This happens in the web map on ArcGIS Online.&amp;nbsp; I think it's very useful for the end user and I'd like to have this ability in the app as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks as always!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32731[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 12:27:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514190#M25930</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2014-04-02T12:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514191#M25931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have a couple of options based on the way the app was written.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Option 1) configure the app to use multiple locators with the Esri world geocoder listed first within the commonConfig.js file, this will enable autoComplete for both locators, but your end user will have to switch to the composite in the dropdown menu in the app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;geocode: [{&amp;nbsp; url: location.protocol + "//geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"}, &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; url: location.protocol + "//gis.linncounty.org/arcgis/rest/services/PublicBase/LocatorComposite/GeocodeServer", &amp;nbsp;&amp;nbsp; name: "LocatorComposite", &amp;nbsp;&amp;nbsp; singleLineFieldName: "SingleLine", &amp;nbsp;&amp;nbsp; placefinding: true, &amp;nbsp;&amp;nbsp; placeholder: "Find an Address or GPN" &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; }]&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Option 2: change the code to set autoComplete: true &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Back in the js\modules\utils.js file again around line 83 you could change the options of the geocoder to look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: _self.options.map, &amp;nbsp; zoomScale: 400, &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; theme: 'modernGrey', &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; autoComplete:true &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 21:39:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514191#M25931</guid>
      <dc:creator>IanWittenmyer</dc:creator>
      <dc:date>2014-04-02T21:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Social Media App and Geocoding Service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514192#M25932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Option 2 worked great, thanks again!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What controls the header spacing and placement?&amp;nbsp; I'd like the search/geocode box to be larger and to have more space for the title.&amp;nbsp; I'm assuming that's within the mainApp.js or main.js file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]32772[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 12:31:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/social-media-app-and-geocoding-service/m-p/514192#M25932</guid>
      <dc:creator>mpboyle</dc:creator>
      <dc:date>2014-04-03T12:31:29Z</dc:date>
    </item>
  </channel>
</rss>

