<?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 do I Step through related records in a Feature Layer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-step-through-related-records-in-a-feature/m-p/165825#M15385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the relationship query, have you had a chance to review the Esri demo?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/fl_query_related.html" style="line-height: 1.5;" title="https://developers.arcgis.com/javascript/jssamples/fl_query_related.html"&gt;Query related records | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 15:12:07 GMT</pubDate>
    <dc:creator>ChrisSmith7</dc:creator>
    <dc:date>2015-05-07T15:12:07Z</dc:date>
    <item>
      <title>How do I Step through related records in a Feature Layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-step-through-related-records-in-a-feature/m-p/165824#M15384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe this will involve the query task.&lt;/P&gt;&lt;P&gt;I have code that will provide me information on street supports:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var supportId, type, address;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.supportLayer.on("click", function (evt) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; supportId = evt.graphic.attributes.SUPPORTID;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type = evt.graphic.attributes.TYPE;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; address = evt.graphic.attributes.ADDRESS;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.attributesModal.modal("show");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById("address").value = address;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(supportId);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(type);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(address);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This feature layer is: &lt;A href="http://maps.decaturil.gov/arcgis/rest/services/test/StreetSignTest/FeatureServer/1" rel="nofollow noopener noreferrer" target="_blank"&gt;http://maps.decaturil.gov/arcgis/rest/services/test/StreetSignTest/FeatureServer/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It has a unique SUPPORTID.&lt;/P&gt;&lt;P&gt;The layer of sign that I want to get records from is: &lt;A href="http://maps.decaturil.gov/arcgis/rest/services/test/StreetSignTest/FeatureServer/0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://maps.decaturil.gov/arcgis/rest/services/test/StreetSignTest/FeatureServer/0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In this table, the related field is SUPPORTID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example of what I have is I want to search for the value of SUPPORTID and get all records that match the SUPPORTID in the streetSigns layer. I have four street signs with a supportId of 1903. How would I query those four street signs and then display one at a time based on a key push, so I could see one record at a time? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:38:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-step-through-related-records-in-a-feature/m-p/165824#M15384</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2021-12-11T08:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Step through related records in a Feature Layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-step-through-related-records-in-a-feature/m-p/165825#M15385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the relationship query, have you had a chance to review the Esri demo?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/fl_query_related.html" style="line-height: 1.5;" title="https://developers.arcgis.com/javascript/jssamples/fl_query_related.html"&gt;Query related records | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 15:12:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-do-i-step-through-related-records-in-a-feature/m-p/165825#M15385</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-05-07T15:12:07Z</dc:date>
    </item>
  </channel>
</rss>

