<?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>idea Arcade Editor/Map Spec: Add Map Level User-Defined Functions in ArcGIS Field Maps Ideas</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-ideas/arcade-editor-map-spec-add-map-level-user-defined/idi-p/1180035</link>
    <description>&lt;P&gt;Add the ability to create User-Defined functions at the map level that can be called by any expression like Arcade's built-in functions. This will dramatically cleanup a lot of reused code from one field or layer to the next. Write it once, call it when it is needed.&lt;BR /&gt;&lt;BR /&gt;What might be needed to make this happen.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A place in Field Maps to author these functions.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;A new section in the maps definition (JSON)... e.g. userDefinedFunctionInfos[]&lt;/LI&gt;&lt;LI&gt;Define function properties:&lt;UL class="lia-list-style-type-circle"&gt;&lt;LI&gt;function name&lt;/LI&gt;&lt;LI&gt;function expression&lt;/LI&gt;&lt;LI&gt;function description (shown in the blue information symbol, so a user knows what the function does and what parameters it takes)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;A new tab in the Arcade Editor "User-Defined Functions".&lt;/LI&gt;&lt;LI&gt;Validating that the name of the function does not conflict with the name of a built-in function or prefixing the name of the function with text that ensures it can never conflict with a built in function.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Sat, 04 Jun 2022 21:55:47 GMT</pubDate>
    <dc:creator>JustinReynolds</dc:creator>
    <dc:date>2022-06-04T21:55:47Z</dc:date>
    <item>
      <title>Arcade Editor/Map Spec: Add Map Level User-Defined Functions</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/arcade-editor-map-spec-add-map-level-user-defined/idi-p/1180035</link>
      <description>&lt;P&gt;Add the ability to create User-Defined functions at the map level that can be called by any expression like Arcade's built-in functions. This will dramatically cleanup a lot of reused code from one field or layer to the next. Write it once, call it when it is needed.&lt;BR /&gt;&lt;BR /&gt;What might be needed to make this happen.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A place in Field Maps to author these functions.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;A new section in the maps definition (JSON)... e.g. userDefinedFunctionInfos[]&lt;/LI&gt;&lt;LI&gt;Define function properties:&lt;UL class="lia-list-style-type-circle"&gt;&lt;LI&gt;function name&lt;/LI&gt;&lt;LI&gt;function expression&lt;/LI&gt;&lt;LI&gt;function description (shown in the blue information symbol, so a user knows what the function does and what parameters it takes)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;A new tab in the Arcade Editor "User-Defined Functions".&lt;/LI&gt;&lt;LI&gt;Validating that the name of the function does not conflict with the name of a built-in function or prefixing the name of the function with text that ensures it can never conflict with a built in function.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sat, 04 Jun 2022 21:55:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/arcade-editor-map-spec-add-map-level-user-defined/idi-p/1180035</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2022-06-04T21:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Editor/Map Spec: Add Map Level User-Defined Functions</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/arcade-editor-map-spec-add-map-level-user-defined/idc-p/1292725#M1247</link>
      <description>&lt;P&gt;This would be really useful to us. We have a bit of code that gets hyperlinks for as-builts from intersecting areas. Right now, we need to apply this code individually to each layer where we want to see those links. If I need to make a change, I need to change that in every layer to make sure things work properly.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 18:32:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/arcade-editor-map-spec-add-map-level-user-defined/idc-p/1292725#M1247</guid>
      <dc:creator>JCGuarneri</dc:creator>
      <dc:date>2023-05-24T18:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade Editor/Map Spec: Add Map Level User-Defined Functions</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/arcade-editor-map-spec-add-map-level-user-defined/idc-p/1358491#M1531</link>
      <description>&lt;P&gt;Completely agree with this. It's not best coding practice to have multiple copies of the same code and creates a maintenance nightmare.&lt;/P&gt;&lt;P&gt;If we could create re-useable functions, like you can in pretty much any other coding/scripting language, and re-use those within the same map, that would be very useful and also help create more robust applications for customers/end users.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 11:25:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/arcade-editor-map-spec-add-map-level-user-defined/idc-p/1358491#M1531</guid>
      <dc:creator>JohnFannon</dc:creator>
      <dc:date>2023-12-08T11:25:20Z</dc:date>
    </item>
  </channel>
</rss>

