<?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 DynamicDataLayer with Join - query features in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamicdatalayer-with-join-query-features/m-p/131936#M12283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;we are trying to build on the example references in the API&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/layers-dynamicdatalayer-table-join/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-dynamicdatalayer-table-join/index.html"&gt;MapImageLayer - dynamic data layer with table join | ArcGIS API for JavaScript 4.7&lt;/A&gt;&amp;nbsp;that we can successfully execute on our data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we are trying to accomplish are two things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- get access to the entities in the sublayer created with the join&lt;/P&gt;&lt;P&gt;- apply a definitionExpression to subset the entities&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in our scenario, we'd like to accomplish these tasks on the&amp;nbsp;&lt;SPAN class="" style="color: #aa0d91; font-weight: bold;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt; layer = &lt;/SPAN&gt;&lt;SPAN class="" style="color: #aa0d91; font-weight: bold;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt; MapImageLayer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;before adding the layer to a map and the map to a view.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;We have tried&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;- layer.when(function)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;but it doesn't get resolved until the layer is used in the View&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Does anyone have a suggestion on how to accomplish this ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Massimo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 May 2018 16:17:43 GMT</pubDate>
    <dc:creator>massimodragan</dc:creator>
    <dc:date>2018-05-30T16:17:43Z</dc:date>
    <item>
      <title>DynamicDataLayer with Join - query features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamicdatalayer-with-join-query-features/m-p/131936#M12283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;we are trying to build on the example references in the API&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/layers-dynamicdatalayer-table-join/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-dynamicdatalayer-table-join/index.html"&gt;MapImageLayer - dynamic data layer with table join | ArcGIS API for JavaScript 4.7&lt;/A&gt;&amp;nbsp;that we can successfully execute on our data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we are trying to accomplish are two things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- get access to the entities in the sublayer created with the join&lt;/P&gt;&lt;P&gt;- apply a definitionExpression to subset the entities&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in our scenario, we'd like to accomplish these tasks on the&amp;nbsp;&lt;SPAN class="" style="color: #aa0d91; font-weight: bold;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt; layer = &lt;/SPAN&gt;&lt;SPAN class="" style="color: #aa0d91; font-weight: bold;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt; MapImageLayer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;before adding the layer to a map and the map to a view.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;We have tried&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;- layer.when(function)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;but it doesn't get resolved until the layer is used in the View&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Does anyone have a suggestion on how to accomplish this ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Massimo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 16:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dynamicdatalayer-with-join-query-features/m-p/131936#M12283</guid>
      <dc:creator>massimodragan</dc:creator>
      <dc:date>2018-05-30T16:17:43Z</dc:date>
    </item>
  </channel>
</rss>

