<?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: extend geocode to general search in basic viewer template in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141486#M13165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/13425"&gt;Joseph Rathvon&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the geocoders to work in your application outside of your organization, enable anonymous access in your organization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this, please do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Log in as an admin of your organization.&lt;/LI&gt;&lt;LI&gt;Click "My Organization" in the top banner.&lt;/LI&gt;&lt;LI&gt;Click "Edit Settings" above the list of users in your org.&lt;/LI&gt;&lt;LI&gt;Click "Security" on the left hand side of your org settings page.&lt;/LI&gt;&lt;LI&gt;Check the box on for Allow anonymous access to your organization.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 21:08:57 GMT</pubDate>
    <dc:creator>AlexanderNohe1</dc:creator>
    <dc:date>2014-07-17T21:08:57Z</dc:date>
    <item>
      <title>extend geocode to general search in basic viewer template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141482#M13161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While I was checking out the code of the template I noticed this in the CreateGeocode.js code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt; //If there is a valid search id and field defined add the feature layer to the geocoder array&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var searchLayers = [];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (this.config.response.itemInfo.itemData &amp;amp;&amp;amp; this.config.response.itemInfo.itemData.application ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this mean that I can use the geocoder to search my other data layers like in the Flex maps?&amp;nbsp; I haven't been able to figure out how to get this working.&amp;nbsp; I tried adding my map service REST enpoint to the geocoder array in commonConfig.js but that didn't work.&amp;nbsp; I tried turning my data into a location service and adding that but that didn't work either.&amp;nbsp; Can some one help me understand if I am on the right track or not and if I am how to properly config this option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://washcogis2.washco-md.net/js/viewer/"&gt;http://washcogis2.washco-md.net/js/viewer/&lt;/A&gt; - my current dev site. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joseph Rathvon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 15:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141482#M13161</guid>
      <dc:creator>JosephRathvon</dc:creator>
      <dc:date>2014-07-16T15:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: extend geocode to general search in basic viewer template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141483#M13162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My understanding is that, when creating the options for the search bar, the basic template will automatically read from the list of geocoders associated with your organization and provide them as search options. There may be other ways to do it involving going deeper into code, but this has been the method I have always used when I get asked about how to set this up. To me, it seems just a little counter intuitive as to how the utility services relate to the search box in the basic template.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add a new geocoder as a Utility Service to your organization do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Log in as an admin of your organization.&lt;/LI&gt;&lt;LI&gt;Click "My Organization" in the top banner.&lt;/LI&gt;&lt;LI&gt;Click "Edit Settings" above the list of users in your org.&lt;/LI&gt;&lt;LI&gt;Click "Utility Services" on the left hand side of your org settings page.&lt;/LI&gt;&lt;LI&gt;In the geocoding section click "Add Geocoder" and fill in the provided form.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The name you use when filling in the form for the geocoder will be the name that shows in the dropdown in the template when a user is deciding which source to search against. Such as in my screenshot I chose "Spatial Links Dev Test" for this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If everything goes correctly, you will see a little drop down next to the magnifying glass in the search bar. Once clicked a list will appear such as the the screenshot below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a side note: We in GEO-Jobe have built a tool that we can drop into any web mapping application that detects the layers in the source webmap and allows or searching against both an address locator and any data in the source layers all at the same time. If this functionality is not natively supported in the JavaScript Web Application Builder, we will most likely publish it as a widget for download. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this was all helpful and correct information. Someone jump in if I have said anything incorrect. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2014-07-16 at 7.23.36 PM.png" class="jive-image image-1" src="/legacyfs/online/2237_Screen Shot 2014-07-16 at 7.23.36 PM.png" style="width: 620px; height: 164px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 00:43:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141483#M13162</guid>
      <dc:creator>DavidHansen3</dc:creator>
      <dc:date>2014-07-17T00:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: extend geocode to general search in basic viewer template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141484#M13163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome Thanks.&amp;nbsp; I will try it that way.&amp;nbsp; I guess a lot of people say this but the search box in the Flex Viewer was simple to add this type of function.&amp;nbsp; I look forward to good things from the JS App builder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 11:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141484#M13163</guid>
      <dc:creator>JosephRathvon</dc:creator>
      <dc:date>2014-07-17T11:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: extend geocode to general search in basic viewer template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141485#M13164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That solution kind of worked for me.&amp;nbsp; With the app hosted in our org account the geocoder all populate and it appears to be working how I want. When I host the app then it still doesn't want to show the other geocoders.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 13:23:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141485#M13164</guid>
      <dc:creator>JosephRathvon</dc:creator>
      <dc:date>2014-07-17T13:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: extend geocode to general search in basic viewer template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141486#M13165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/13425"&gt;Joseph Rathvon&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the geocoders to work in your application outside of your organization, enable anonymous access in your organization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this, please do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Log in as an admin of your organization.&lt;/LI&gt;&lt;LI&gt;Click "My Organization" in the top banner.&lt;/LI&gt;&lt;LI&gt;Click "Edit Settings" above the list of users in your org.&lt;/LI&gt;&lt;LI&gt;Click "Security" on the left hand side of your org settings page.&lt;/LI&gt;&lt;LI&gt;Check the box on for Allow anonymous access to your organization.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 21:08:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141486#M13165</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2014-07-17T21:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: extend geocode to general search in basic viewer template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141487#M13166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No anonymous access is enabled on my account and it still dosen't work in the application that I am hosting on our local server. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 19:19:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141487#M13166</guid>
      <dc:creator>JosephRathvon</dc:creator>
      <dc:date>2014-07-18T19:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: extend geocode to general search in basic viewer template</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141488#M13167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are hosting the template locally try setting the sharinghost value in the config/defaults.js file to&amp;nbsp; your organization url. For example if my organization is named 'JSAPITeam' I'd set the value to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;www.jsapiteam.arcgis.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 16:56:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-geocode-to-general-search-in-basic-viewer/m-p/141488#M13167</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2014-07-21T16:56:32Z</dc:date>
    </item>
  </channel>
</rss>

