<?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 Table JOIN in Query object; View creation? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/table-join-in-query-object-view-creation/m-p/125023#M2966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the Search widget, we have combobox 1 (???Transmission Line???).&amp;nbsp; I need to add combobox 2 (Structure #) that will pull the Structure #s based on the Transmission Line selected.&amp;nbsp; This SQL will involve a one-to-many JOIN b/t 2 tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly, when the user clicks the ???Search??? button, I need to navigate them on the map to the specific Structure # on the Transmission Line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Is it possible to perform a JOIN within a Query object?&amp;nbsp; Or do I need to create a view with the 2 tables and query that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Currently when the user clicks ???Search???, they are navigated to the center of the Transmission Line. I don???t know how I???d use the map service it???s currently using to do that. Ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Mar 2011 15:57:14 GMT</pubDate>
    <dc:creator>AshleyOwens</dc:creator>
    <dc:date>2011-03-21T15:57:14Z</dc:date>
    <item>
      <title>Table JOIN in Query object; View creation?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/table-join-in-query-object-view-creation/m-p/125023#M2966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the Search widget, we have combobox 1 (???Transmission Line???).&amp;nbsp; I need to add combobox 2 (Structure #) that will pull the Structure #s based on the Transmission Line selected.&amp;nbsp; This SQL will involve a one-to-many JOIN b/t 2 tables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Secondly, when the user clicks the ???Search??? button, I need to navigate them on the map to the specific Structure # on the Transmission Line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Is it possible to perform a JOIN within a Query object?&amp;nbsp; Or do I need to create a view with the 2 tables and query that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Currently when the user clicks ???Search???, they are navigated to the center of the Transmission Line. I don???t know how I???d use the map service it???s currently using to do that. Ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2011 15:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/table-join-in-query-object-view-creation/m-p/125023#M2966</guid>
      <dc:creator>AshleyOwens</dc:creator>
      <dc:date>2011-03-21T15:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Table JOIN in Query object; View creation?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/table-join-in-query-object-view-creation/m-p/125024#M2967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is a general comment so...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think you can join items in a query string, but in the rest api 10 you can get related records. This is something you will need to set-up in your data sources and expose in your map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise, I would use plain look-up tables and some server-side code. I use php to create a rest service for lookup tables and then construct layer queries.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 23:37:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/table-join-in-query-object-view-creation/m-p/125024#M2967</guid>
      <dc:creator>JohnGarvey</dc:creator>
      <dc:date>2011-03-22T23:37:22Z</dc:date>
    </item>
  </channel>
</rss>

