<?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: Populating a field from another layer's field in Esri India Questions</title>
    <link>https://community.esri.com/t5/esri-india-questions/populating-a-field-from-another-layer-s-field/m-p/1539308#M284</link>
    <description>&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;In ArcGIS Enterprise, when you want to call or reference fields from a feature layer that is not directly part of the web map, you generally need to use Arcade expressions in a context where that feature layer is accessible. Arcade expressions are typically used for labeling, symbology, and pop-ups within the context of a web map or a web application.&lt;/P&gt;&lt;P&gt;If the feature layer you want to reference is outside the web map, you might need to work within an environment that allows for cross-layer querying or lookups. Here's a general approach using Arcade expressions in a scenario where you can access the data via the layer:&lt;/P&gt;&lt;P&gt;// Define the related layer by name&lt;BR /&gt;var relatedLayer = FeatureSetByName($map, "Related Layer Name");&lt;/P&gt;&lt;P&gt;// Filter and retrieve the desired feature&lt;BR /&gt;var relatedFeature = First(relatedLayer);&lt;/P&gt;&lt;P&gt;// Access the field values from the related feature&lt;BR /&gt;var relatedFieldValue = relatedFeature.YourFieldName;&lt;/P&gt;&lt;P&gt;// Use the value in your expression&lt;BR /&gt;return relatedFieldValue;&lt;/P&gt;&lt;P&gt;Always check the latest documentation or support forums for ArcGIS Enterprise, as functionality can evolve, and new features or methods may be introduced in newer versions.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 09:16:04 GMT</pubDate>
    <dc:creator>Subhajeet</dc:creator>
    <dc:date>2024-09-17T09:16:04Z</dc:date>
    <item>
      <title>Populating a field from another layer's field</title>
      <link>https://community.esri.com/t5/esri-india-questions/populating-a-field-from-another-layer-s-field/m-p/1514097#M270</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I have many layers in my web map, in which I have to populate a field in Layer - A using Layer - B attribute table. Is there any way that I can do it?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 11:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-india-questions/populating-a-field-from-another-layer-s-field/m-p/1514097#M270</guid>
      <dc:creator>NandhiniR</dc:creator>
      <dc:date>2024-08-02T11:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Populating a field from another layer's field</title>
      <link>https://community.esri.com/t5/esri-india-questions/populating-a-field-from-another-layer-s-field/m-p/1534036#M283</link>
      <description>&lt;P&gt;Hi Nandhini,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a query, are you looking for a attribute just to populating? If yes, an Arcade expression can help here. Or if a permanent join, then we may think on Join in the database (Left Join) or a view layer (combining Layer A and Layer B).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know your thoughts!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 10:28:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-india-questions/populating-a-field-from-another-layer-s-field/m-p/1534036#M283</guid>
      <dc:creator>Subhajeet</dc:creator>
      <dc:date>2024-09-02T10:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Populating a field from another layer's field</title>
      <link>https://community.esri.com/t5/esri-india-questions/populating-a-field-from-another-layer-s-field/m-p/1539308#M284</link>
      <description>&lt;P&gt;Hey there!&lt;/P&gt;&lt;P&gt;In ArcGIS Enterprise, when you want to call or reference fields from a feature layer that is not directly part of the web map, you generally need to use Arcade expressions in a context where that feature layer is accessible. Arcade expressions are typically used for labeling, symbology, and pop-ups within the context of a web map or a web application.&lt;/P&gt;&lt;P&gt;If the feature layer you want to reference is outside the web map, you might need to work within an environment that allows for cross-layer querying or lookups. Here's a general approach using Arcade expressions in a scenario where you can access the data via the layer:&lt;/P&gt;&lt;P&gt;// Define the related layer by name&lt;BR /&gt;var relatedLayer = FeatureSetByName($map, "Related Layer Name");&lt;/P&gt;&lt;P&gt;// Filter and retrieve the desired feature&lt;BR /&gt;var relatedFeature = First(relatedLayer);&lt;/P&gt;&lt;P&gt;// Access the field values from the related feature&lt;BR /&gt;var relatedFieldValue = relatedFeature.YourFieldName;&lt;/P&gt;&lt;P&gt;// Use the value in your expression&lt;BR /&gt;return relatedFieldValue;&lt;/P&gt;&lt;P&gt;Always check the latest documentation or support forums for ArcGIS Enterprise, as functionality can evolve, and new features or methods may be introduced in newer versions.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 09:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-india-questions/populating-a-field-from-another-layer-s-field/m-p/1539308#M284</guid>
      <dc:creator>Subhajeet</dc:creator>
      <dc:date>2024-09-17T09:16:04Z</dc:date>
    </item>
  </channel>
</rss>

