<?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: Get a value from a layer (with joined table) in a web map in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/get-a-value-from-a-layer-with-joined-table-in-a/m-p/1311595#M6603</link>
    <description>&lt;P&gt;thanks Doug!&lt;/P&gt;&lt;P&gt;i got the idea, thanks for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2023 16:28:19 GMT</pubDate>
    <dc:creator>WilsonLee</dc:creator>
    <dc:date>2023-07-25T16:28:19Z</dc:date>
    <item>
      <title>Get a value from a layer (with joined table) in a web map</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/get-a-value-from-a-layer-with-joined-table-in-a/m-p/1311173#M6588</link>
      <description>&lt;P&gt;Hi, I am creating a form for a layer. In 1 field, I want to get&amp;nbsp;get a value from another layer (with joined table, it's map service published from a ArcGIS Server) in a same web map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&lt;FONT color="#FF6600"&gt;var treeGrid = FeatureSetByName($map,"GROUNDS.SEQ")&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&lt;FONT color="#FF6600"&gt;var result = Intersects($feature, treeGrid)&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&lt;FONT color="#FF6600"&gt;return Upper(first(result)."GROUNDS.TI2_MAX_SEQ.SEQ")&lt;/FONT&gt;&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;&lt;FONT color="#FF6600"&gt;Test execution error: Unexpected text literal.. Verify test data.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(It was fine if i am getting a value from another layer without joined table)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does Field Maps support accessing values from a layer with joined table in Arcade? is my code correct for this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks a lot!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;W&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 19:51:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/get-a-value-from-a-layer-with-joined-table-in-a/m-p/1311173#M6588</guid>
      <dc:creator>WilsonLee</dc:creator>
      <dc:date>2023-07-24T19:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Get a value from a layer (with joined table) in a web map</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/get-a-value-from-a-layer-with-joined-table-in-a/m-p/1311495#M6595</link>
      <description>&lt;P&gt;Your 3rd line there should not have the field name in quotes - that makes it a string.&amp;nbsp; Also when sending a list of fields to FeatureSet you need to send a list in line 1.&amp;nbsp; Also I do not see the layer name in line 1.&lt;/P&gt;&lt;P&gt;Then this part&amp;nbsp;TI2_MAX_SEQ I have no idea what that is.&amp;nbsp; The format should be record.fieldname&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;var treeGrid = FeatureSetByName($map, "NameOfLayerInMap", ["GROUNDS.SEQ"])&lt;BR /&gt;var result = Intersects($feature, treeGrid)&lt;BR /&gt;return Upper(first(result).GROUNDS.SEQ)&lt;/P&gt;&lt;P&gt;Hard to tell since I am not sure what you are trying to go.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 13:46:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/get-a-value-from-a-layer-with-joined-table-in-a/m-p/1311495#M6595</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-07-25T13:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get a value from a layer (with joined table) in a web map</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/get-a-value-from-a-layer-with-joined-table-in-a/m-p/1311595#M6603</link>
      <description>&lt;P&gt;thanks Doug!&lt;/P&gt;&lt;P&gt;i got the idea, thanks for your help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 16:28:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/get-a-value-from-a-layer-with-joined-table-in-a/m-p/1311595#M6603</guid>
      <dc:creator>WilsonLee</dc:creator>
      <dc:date>2023-07-25T16:28:19Z</dc:date>
    </item>
  </channel>
</rss>

