<?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 Error when using integer domain values in eSearch 2.5.1.2 in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-when-using-integer-domain-values-in-esearch/m-p/47485#M1110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having trouble using the domain option in the eSearch widget when using a feature class with a joined table. I can still use domains for any fields that are text, but if the domain is an integer it will not work. For example, our electric load flow models have area numbers and we want to show a name so we have used the following domains: [502:CLECO], [503:LAFA], etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I seem to be able to use these successfully when the table isn't joined, and can use pure text domains even when joined( &lt;Y&gt;).&lt;/Y&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using fully qualified names and have my shape and Object ID fields visible in the service. Here is an expression example from my SearchWidget.xml file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;expression alias="Transmission Owner" textserachlabel="Select TO..." field="SDE.Branches_ITPBASE_11SP.OWNER_1" usedomain="true"&amp;gt;SDE.Branches_ITPBASE_11SP.OWNER_1 = '[value]'&amp;lt;/expression&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help you can provide!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Justin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Feb 2012 18:39:34 GMT</pubDate>
    <dc:creator>JustinFultz</dc:creator>
    <dc:date>2012-02-14T18:39:34Z</dc:date>
    <item>
      <title>Error when using integer domain values in eSearch 2.5.1.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-when-using-integer-domain-values-in-esearch/m-p/47485#M1110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having trouble using the domain option in the eSearch widget when using a feature class with a joined table. I can still use domains for any fields that are text, but if the domain is an integer it will not work. For example, our electric load flow models have area numbers and we want to show a name so we have used the following domains: [502:CLECO], [503:LAFA], etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I seem to be able to use these successfully when the table isn't joined, and can use pure text domains even when joined( &lt;Y&gt;).&lt;/Y&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using fully qualified names and have my shape and Object ID fields visible in the service. Here is an expression example from my SearchWidget.xml file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;expression alias="Transmission Owner" textserachlabel="Select TO..." field="SDE.Branches_ITPBASE_11SP.OWNER_1" usedomain="true"&amp;gt;SDE.Branches_ITPBASE_11SP.OWNER_1 = '[value]'&amp;lt;/expression&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any help you can provide!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Justin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 18:39:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-when-using-integer-domain-values-in-esearch/m-p/47485#M1110</guid>
      <dc:creator>JustinFultz</dc:creator>
      <dc:date>2012-02-14T18:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error when using integer domain values in eSearch 2.5.1.2</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-when-using-integer-domain-values-in-esearch/m-p/47486#M1111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Justin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Now all you need to remember is to post to the Flex Viewer forum and not the Flex API forum:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex" rel="nofollow" target="_blank"&gt;http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your issue is actually very simple. You are using the wrong SQL statement in your expression. Having single quotes around [value] tells the SQL that you are looking for a string. If you remove the single quotes around the [value] you will be good to go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;expression alias="Transmission Owner" textserachlabel="Select TO..." field="SDE.Branches_ITPBASE_11SP.OWNER_1" usedomain="true"&amp;gt;SDE.Branches_ITPBASE_11SP.OWNER_1 = [value]&amp;lt;/expression&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt; as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2012 19:03:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-when-using-integer-domain-values-in-esearch/m-p/47486#M1111</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-02-14T19:03:06Z</dc:date>
    </item>
  </channel>
</rss>

