<?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: Arcade - Return Layer Name (AGOL) in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/714451#M35415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/34857"&gt;David Fotheringham&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was expecting to find a name property on the $layer object, but there doesn't seem to be one. I assume the optimal option would be to work with a single feature layer and the additional attribute to hold the study area for each feature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You&amp;nbsp;can use a python script to merge them together and&amp;nbsp;add the additional attribute and publish the feature layer again.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Aug 2019 20:06:16 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2019-08-26T20:06:16Z</dc:date>
    <item>
      <title>Arcade - Return Layer Name (AGOL)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/714450#M35414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a way to return the layer name (as seen in the table of contents) using Arcade in a popup in AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reason&lt;/STRONG&gt; - I have 60+ individual study areas and when a user clicks on one it would be nice to have the pop up tell them which one it is. Each study area only has 1 feature in it. The attributes do not, currently, contain the study area name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution 1&lt;/STRONG&gt; - add a field for each study area and include the name for easy pop up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution 2&lt;/STRONG&gt; - find out if Arcade can do it already&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know solution 1 will work but I am more intrigued to understand Arcade better and see if this is a function exists!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2019 09:16:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/714450#M35414</guid>
      <dc:creator>DavidFotheringham1</dc:creator>
      <dc:date>2019-08-23T09:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Return Layer Name (AGOL)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/714451#M35415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/34857"&gt;David Fotheringham&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was expecting to find a name property on the $layer object, but there doesn't seem to be one. I assume the optimal option would be to work with a single feature layer and the additional attribute to hold the study area for each feature.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You&amp;nbsp;can use a python script to merge them together and&amp;nbsp;add the additional attribute and publish the feature layer again.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Aug 2019 20:06:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/714451#M35415</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-08-26T20:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Return Layer Name (AGOL)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/714452#M35416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;‌. Glad it was not just me that could not find a 'name' property. I'll revert back&amp;nbsp;just updating the layers with a 'name' field directly.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 11:16:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/714452#M35416</guid>
      <dc:creator>DavidFotheringham1</dc:creator>
      <dc:date>2019-08-27T11:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Return Layer Name (AGOL)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/1224411#M48480</link>
      <description>&lt;P&gt;David,&lt;/P&gt;&lt;P&gt;It is low tec but you can use Concatenate and just type out the layer name.&lt;BR /&gt;Example:&amp;nbsp;Concatenate(['Layer Name',$feature.Label], ':')&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 21:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/1224411#M48480</guid>
      <dc:creator>AlexNies2</dc:creator>
      <dc:date>2022-10-21T21:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Return Layer Name (AGOL)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/1373720#M57042</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;GetFeatureSetInfo&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;GetFeatureSet&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;)).&lt;/SPAN&gt;&lt;SPAN&gt;layerName&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jan 2024 23:38:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/1373720#M57042</guid>
      <dc:creator>dzahsh</dc:creator>
      <dc:date>2024-01-23T23:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Return Layer Name (AGOL)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/1484933#M59554</link>
      <description>&lt;P&gt;Thanks. &lt;STRONG&gt;This&lt;/STRONG&gt; is the solution I needed!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 01:36:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/1484933#M59554</guid>
      <dc:creator>DanielKarkoszka</dc:creator>
      <dc:date>2024-06-05T01:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Return Layer Name (AGOL)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/1542978#M61701</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/410895"&gt;@dzahsh&lt;/a&gt;&amp;nbsp;, do you by any chance know a way to get the layer alias rather than the name?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 10:01:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/1542978#M61701</guid>
      <dc:creator>cat206</dc:creator>
      <dc:date>2024-09-26T10:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Return Layer Name (AGOL)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/1549930#M61996</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/613995"&gt;@cat206&lt;/a&gt;&amp;nbsp;This will return the custom Layer title as set in a Web Map :&lt;BR /&gt;&lt;SPAN&gt;GetFeatureSetInfo&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;GetFeatureSet&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;webMapLayerTitle&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;More info about different properties of FeatureSets :&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#getfeaturesetinfo" target="_blank"&gt;https://developers.arcgis.com/arcade/function-reference/featureset_functions/#getfeaturesetinfo&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 14:17:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-return-layer-name-agol/m-p/1549930#M61996</guid>
      <dc:creator>dzahsh</dc:creator>
      <dc:date>2024-10-18T14:17:35Z</dc:date>
    </item>
  </channel>
</rss>

