<?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: Can I use an expression in Field Maps that autocompletes a field based on the ObjectID? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/can-i-use-an-expression-in-field-maps-that/m-p/1257307#M50301</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would also like to have a sequential ID offline, but it can be related to the Field Maps user and not the entire dataset.&lt;/P&gt;&lt;P&gt;Did you figure out a work around for this?&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;Kathy&lt;/P&gt;</description>
    <pubDate>Sat, 11 Feb 2023 02:24:00 GMT</pubDate>
    <dc:creator>kmsmikrud</dc:creator>
    <dc:date>2023-02-11T02:24:00Z</dc:date>
    <item>
      <title>Can I use an expression in Field Maps that autocompletes a field based on the ObjectID?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-use-an-expression-in-field-maps-that/m-p/1163471#M45529</link>
      <description>&lt;P&gt;This is a quesiton in lieu of Attribute Rules. I have arborists collecting data about Trees. They give each tree a unique reference (T1, T2 and so on). I would like this field in their form to automatically complete based on the object ID as the default value. But I would also like them to be able to edit this value if they wish.&lt;/P&gt;&lt;P&gt;Is there a way of using an expression to set a default value thats "T"+!ObjectID! or something along these lines?&lt;/P&gt;&lt;P&gt;The alternative would be just to remove this field and just use the object ID, and generate a Tn reference after Field Mapping.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 13:51:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-use-an-expression-in-field-maps-that/m-p/1163471#M45529</guid>
      <dc:creator>David_Brooks</dc:creator>
      <dc:date>2022-04-12T13:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use an expression in Field Maps that autocompletes a field based on the ObjectID?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-use-an-expression-in-field-maps-that/m-p/1163638#M45539</link>
      <description>&lt;P&gt;You could create an arcade expression to fetch the latest OBJECTID using Arcade, add 1 and go from there:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var itemid = // your portal item id
var portalurl = // your portal url or "https://arcgis.com"
var fs = FeatureSetByPortalItem(Portal(portalurl),itemid)
return Max(fs, "OBJECTID") +1 &lt;/LI-CODE&gt;&lt;P&gt;This might not be the best way to go though if you have multiple users collecting data simultaneously or have users that work offline. An attribute rule will probably be a better idea indeed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 19:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-use-an-expression-in-field-maps-that/m-p/1163638#M45539</guid>
      <dc:creator>HuubZwart</dc:creator>
      <dc:date>2022-04-12T19:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use an expression in Field Maps that autocompletes a field based on the ObjectID?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-use-an-expression-in-field-maps-that/m-p/1164336#M45590</link>
      <description>&lt;P&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/112531" target="_blank"&gt;@HuubZwart&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;that's a nice idea, but they're exclusively offline, so Im guessing this wouldn't work. As it has been for the last 2 years; I will await Attribute Rules on AGOL!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 10:35:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-use-an-expression-in-field-maps-that/m-p/1164336#M45590</guid>
      <dc:creator>David_Brooks</dc:creator>
      <dc:date>2022-04-14T10:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use an expression in Field Maps that autocompletes a field based on the ObjectID?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-use-an-expression-in-field-maps-that/m-p/1257307#M50301</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would also like to have a sequential ID offline, but it can be related to the Field Maps user and not the entire dataset.&lt;/P&gt;&lt;P&gt;Did you figure out a work around for this?&lt;/P&gt;&lt;P&gt;Thanks!,&lt;/P&gt;&lt;P&gt;Kathy&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2023 02:24:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-use-an-expression-in-field-maps-that/m-p/1257307#M50301</guid>
      <dc:creator>kmsmikrud</dc:creator>
      <dc:date>2023-02-11T02:24:00Z</dc:date>
    </item>
  </channel>
</rss>

