<?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 Auto-populated GUIDs via NEWID() function — In web map, display a more intuitive value in the Edit tool in ArcGIS Online Ideas</title>
    <link>https://community.esri.com/t5/arcgis-online-ideas/auto-populated-guids-via-newid-function-in-web-map/idi-p/1699170</link>
    <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115587"&gt;@MobiusSnake&lt;/a&gt;&amp;nbsp;pointed out in&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/add-guid-field-to-existing-agol-survey123-feature/m-p/1698411/highlight/true#M68519" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-online-questions/add-guid-field-to-existing-agol-survey123-feature/m-p/1698411/highlight/true#M68519:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using a custom GUID field, it’s possible to automatically populate the field with GUIDs (at the hosted feature layer level) using the NEWID() function/default value via the&amp;nbsp;Admin REST API.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;{
  "fields":
  [
    {
      "name" : "MyID", 
      "type" : "esriFieldTypeGUID", 
      "alias" : "My ID", 
      "sqlType" : "sqlTypeOther", 
      "length" : 38, 
      "nullable" : false, 
      "editable" : false, 
      "domain" : null, 
      "defaultValue" : "NEWID() WITH VALUES"
    }
  ]
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/232739"&gt;@Katie_Clark&lt;/a&gt;&amp;nbsp;mentioned:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;After creating the feature layer, I opened it in a web map and created a feature. At first I was worried because the interface looked like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1777491283920.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/151745i3F8C192C487E5391/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1777491283920.jpeg" alt="Bud_0-1777491283920.jpeg" /&gt;&lt;/span&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;But after submitting the form and checking the attribute table, the value was populated!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1777491455311.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/151746i57737D733FEACA96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_1-1777491455311.png" alt="Bud_1-1777491455311.png" /&gt;&lt;/span&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I was also confused when the new feature Edit window showed&amp;nbsp;NEWID() as the field value, prior to saving the feature. I thought it was going to insert the literal text “NEWID()” instead of a GUID value, which isn't what I want.&lt;/P&gt;&lt;P&gt;This idea is to display something more intuitive in the Edit tool’s field value text box, such as the GUID value, instead of “NEWID()”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Apr 2026 22:01:19 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2026-04-29T22:01:19Z</dc:date>
    <item>
      <title>Auto-populated GUIDs via NEWID() function — In web map, display a more intuitive value in the Edit tool</title>
      <link>https://community.esri.com/t5/arcgis-online-ideas/auto-populated-guids-via-newid-function-in-web-map/idi-p/1699170</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115587"&gt;@MobiusSnake&lt;/a&gt;&amp;nbsp;pointed out in&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-online-questions/add-guid-field-to-existing-agol-survey123-feature/m-p/1698411/highlight/true#M68519" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-online-questions/add-guid-field-to-existing-agol-survey123-feature/m-p/1698411/highlight/true#M68519:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using a custom GUID field, it’s possible to automatically populate the field with GUIDs (at the hosted feature layer level) using the NEWID() function/default value via the&amp;nbsp;Admin REST API.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;{
  "fields":
  [
    {
      "name" : "MyID", 
      "type" : "esriFieldTypeGUID", 
      "alias" : "My ID", 
      "sqlType" : "sqlTypeOther", 
      "length" : 38, 
      "nullable" : false, 
      "editable" : false, 
      "domain" : null, 
      "defaultValue" : "NEWID() WITH VALUES"
    }
  ]
}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/232739"&gt;@Katie_Clark&lt;/a&gt;&amp;nbsp;mentioned:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;After creating the feature layer, I opened it in a web map and created a feature. At first I was worried because the interface looked like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1777491283920.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/151745i3F8C192C487E5391/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_0-1777491283920.jpeg" alt="Bud_0-1777491283920.jpeg" /&gt;&lt;/span&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;But after submitting the form and checking the attribute table, the value was populated!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1777491455311.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/151746i57737D733FEACA96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bud_1-1777491455311.png" alt="Bud_1-1777491455311.png" /&gt;&lt;/span&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I was also confused when the new feature Edit window showed&amp;nbsp;NEWID() as the field value, prior to saving the feature. I thought it was going to insert the literal text “NEWID()” instead of a GUID value, which isn't what I want.&lt;/P&gt;&lt;P&gt;This idea is to display something more intuitive in the Edit tool’s field value text box, such as the GUID value, instead of “NEWID()”.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2026 22:01:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-ideas/auto-populated-guids-via-newid-function-in-web-map/idi-p/1699170</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2026-04-29T22:01:19Z</dc:date>
    </item>
  </channel>
</rss>

