<?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: How to find related records using a Dynamic layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306499#M28123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I believe you could do this but why not just go with the feature layer approach shown in the sample? If you use selection mode, as the sample does (against a dynamic map service), it's doesn't bring features to the client until you ask for them (via a click to search).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2011 14:00:34 GMT</pubDate>
    <dc:creator>derekswingley1</dc:creator>
    <dc:date>2011-09-27T14:00:34Z</dc:date>
    <item>
      <title>How to find related records using a Dynamic layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306498#M28122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The sample &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_query_related.html"&gt;here&lt;/A&gt;&lt;SPAN&gt; shows how to find related records when working with a Feature layer, using &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;queryRelatedFeatures&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to find related records when using a Dynamic layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally I'd want to hook this up to an Identify task, or a QueryTask, both of which would run when clicking on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 03:57:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306498#M28122</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-09-27T03:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to find related records using a Dynamic layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306499#M28123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I believe you could do this but why not just go with the feature layer approach shown in the sample? If you use selection mode, as the sample does (against a dynamic map service), it's doesn't bring features to the client until you ask for them (via a click to search).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 14:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306499#M28123</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-09-27T14:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to find related records using a Dynamic layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306500#M28124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;good idea, I'll give it a go.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 04:26:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306500#M28124</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-09-28T04:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to find related records using a Dynamic layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306501#M28125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got a Dynamic Map layer that has related records - so how do I do a query for related records for this layer? Loading this service as a Feature layer is not an option at this time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve G.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 16:40:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306501#M28125</guid>
      <dc:creator>StevenGriffith</dc:creator>
      <dc:date>2011-09-30T16:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to find related records using a Dynamic layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306502#M28126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just curious...why isn't a feature layer an option?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't want to use a feature layer, use a &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm#executeForIds"&gt;queryTask.executeForIds&lt;/A&gt;&lt;SPAN&gt; against your layer to get a list of object IDs then use those with &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/querytask.htm#executeRelationshipQuery"&gt;queryTask.executeRelationshipQuery&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 17:04:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-find-related-records-using-a-dynamic-layer/m-p/306502#M28126</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2011-09-30T17:04:41Z</dc:date>
    </item>
  </channel>
</rss>

