<?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 Is left-inner-join not working with JoinDataSource ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-left-inner-join-not-working-with-joindatasource/m-p/33288#M2704</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using JS Api with JoinDataSource I did not succeed to do a left-inner-join.&lt;/P&gt;&lt;P&gt;On my left table I had 153 features&lt;/P&gt;&lt;P&gt;On my right table I had 51 features&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however when I did a join data source I had 153 features with (102 null join value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;{&lt;BR /&gt; "source":{&lt;BR /&gt; "type":"dataLayer",&lt;BR /&gt; "dataSource":{&lt;BR /&gt; "type":"joinTable",&lt;BR /&gt; "leftTableSource":{&lt;BR /&gt; "type":"mapLayer",&lt;BR /&gt; "mapLayerId":3&lt;BR /&gt; },&lt;BR /&gt; "rightTableSource":{&lt;BR /&gt; "type":"dataLayer",&lt;BR /&gt; "dataSource":{&lt;BR /&gt; "type":"queryTable",&lt;BR /&gt; "workspaceId":"SenegalDataSource",&lt;BR /&gt; "query":"select * from cofiroute.arcgis.Alea where alea =2 and idalea in (1028,...,1180)",&lt;BR /&gt; "oidFields":"idalea"&lt;BR /&gt; }&lt;BR /&gt; },&lt;BR /&gt; "leftTableKey":"idalea",&lt;BR /&gt; "rightTableKey":"idalea",&lt;BR /&gt; "joinType":"esriLeftInnerJoin"&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table rightTableSource is correct (I create a dynamic layer to verify it and I had 51 features).&lt;/P&gt;&lt;P&gt;If i changed to left-outer-join I had the same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this previous question over Geonet but the solution is a little bit tricky because I must use this joindatasource with another joindatasource.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/113663"&gt;https://community.esri.com/thread/113663&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;sylvain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2019 14:14:54 GMT</pubDate>
    <dc:creator>SylvainKerdreux2</dc:creator>
    <dc:date>2019-01-22T14:14:54Z</dc:date>
    <item>
      <title>Is left-inner-join not working with JoinDataSource ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-left-inner-join-not-working-with-joindatasource/m-p/33288#M2704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using JS Api with JoinDataSource I did not succeed to do a left-inner-join.&lt;/P&gt;&lt;P&gt;On my left table I had 153 features&lt;/P&gt;&lt;P&gt;On my right table I had 51 features&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however when I did a join data source I had 153 features with (102 null join value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;{&lt;BR /&gt; "source":{&lt;BR /&gt; "type":"dataLayer",&lt;BR /&gt; "dataSource":{&lt;BR /&gt; "type":"joinTable",&lt;BR /&gt; "leftTableSource":{&lt;BR /&gt; "type":"mapLayer",&lt;BR /&gt; "mapLayerId":3&lt;BR /&gt; },&lt;BR /&gt; "rightTableSource":{&lt;BR /&gt; "type":"dataLayer",&lt;BR /&gt; "dataSource":{&lt;BR /&gt; "type":"queryTable",&lt;BR /&gt; "workspaceId":"SenegalDataSource",&lt;BR /&gt; "query":"select * from cofiroute.arcgis.Alea where alea =2 and idalea in (1028,...,1180)",&lt;BR /&gt; "oidFields":"idalea"&lt;BR /&gt; }&lt;BR /&gt; },&lt;BR /&gt; "leftTableKey":"idalea",&lt;BR /&gt; "rightTableKey":"idalea",&lt;BR /&gt; "joinType":"esriLeftInnerJoin"&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table rightTableSource is correct (I create a dynamic layer to verify it and I had 51 features).&lt;/P&gt;&lt;P&gt;If i changed to left-outer-join I had the same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this previous question over Geonet but the solution is a little bit tricky because I must use this joindatasource with another joindatasource.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/113663"&gt;https://community.esri.com/thread/113663&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;sylvain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 14:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-left-inner-join-not-working-with-joindatasource/m-p/33288#M2704</guid>
      <dc:creator>SylvainKerdreux2</dc:creator>
      <dc:date>2019-01-22T14:14:54Z</dc:date>
    </item>
  </channel>
</rss>

