<?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: Single line address field usage in flex in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518097#M11772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jackson,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Normally the actual input name will not contain spaces so I would check your REST Service directory and look for address fields like I show in the attached image.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jan 2011 19:43:12 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2011-01-11T19:43:12Z</dc:date>
    <item>
      <title>Single line address field usage in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518096#M11771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I'm trying to write some code to use an address locator and I want to use the single line address field.&amp;nbsp; I have set up my address object with just the single line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;var myAddress:Object = 
 {
&amp;nbsp; SingleLineInput: searchBox.text
 };&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However I can not give the address field the correct name.&amp;nbsp; According to my locator the field should be called:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Single Line Input"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;as seen in this JSON code in the locator's rest endpoint:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;"singleLineAddressField" : {
&amp;nbsp;&amp;nbsp;&amp;nbsp; "name" : "Single Line Input", 
&amp;nbsp;&amp;nbsp;&amp;nbsp; "type" : "esriFieldTypeString", 
&amp;nbsp;&amp;nbsp;&amp;nbsp; "alias" : "Full Address", 
&amp;nbsp;&amp;nbsp;&amp;nbsp; "required" : false}&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that Flex will not allow me to pass a field name of "Single Line Input" because it has spaces in it.&amp;nbsp; All of the other field names work fine since they have no spaces.&amp;nbsp; How can I use this field name in my flex code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to anyone who can help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jackson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 19:35:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518096#M11771</guid>
      <dc:creator>JacksonTrappett</dc:creator>
      <dc:date>2011-01-11T19:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Single line address field usage in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518097#M11772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jackson,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Normally the actual input name will not contain spaces so I would check your REST Service directory and look for address fields like I show in the attached image.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 19:43:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518097#M11772</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2011-01-11T19:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Single line address field usage in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518098#M11773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's where I got my field name, here's a screen-shot of that area in my service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 19:49:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518098#M11773</guid>
      <dc:creator>JacksonTrappett</dc:creator>
      <dc:date>2011-01-11T19:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Single line address field usage in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518099#M11774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jackson,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var myAddress:Object = new Object();
&amp;nbsp;&amp;nbsp;&amp;nbsp; myAddress["Single Line Input"] = searchBox.text;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:36:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518099#M11774</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T22:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Single line address field usage in flex</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518100#M11775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That worked, thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just spent about 45 minutes searching for that syntax before finally posting!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 20:03:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/single-line-address-field-usage-in-flex/m-p/518100#M11775</guid>
      <dc:creator>JacksonTrappett</dc:creator>
      <dc:date>2011-01-11T20:03:11Z</dc:date>
    </item>
  </channel>
</rss>

