<?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: Have a GUID field auto populate with an Attribute rule in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159413#M372</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/119500"&gt;@KimberlyGarbade&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that was it thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2022 14:45:42 GMT</pubDate>
    <dc:creator>CHedger1227</dc:creator>
    <dc:date>2022-03-30T14:45:42Z</dc:date>
    <item>
      <title>Have a GUID field auto populate with an Attribute rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159081#M365</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to create an attribute rule that will auto populate a GUID field type. I know how to do it with the &lt;A href="https://support.esri.com/en/technical-article/000011677" target="_self"&gt;field calculator&lt;/A&gt; but I am unsure of an attribute rule that can do this. I want it so when a new piece of data is put in it populates the GUID field with GUID data without me having to do anything.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 20:07:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159081#M365</guid>
      <dc:creator>CHedger1227</dc:creator>
      <dc:date>2022-03-29T20:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Have a GUID field auto populate with an Attribute rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159112#M366</link>
      <description>&lt;P&gt;There is a GUID Arcade function that should do the trick.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/data_functions/#guid" target="_blank" rel="noopener"&gt;Data Functions | ArcGIS Arcade | ArcGIS Developer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I think the below will work if that is the format you are looking for.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return GUID('digits')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 20:54:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159112#M366</guid>
      <dc:creator>KimberlyGarbade</dc:creator>
      <dc:date>2022-03-29T20:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Have a GUID field auto populate with an Attribute rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159227#M367</link>
      <description>&lt;P&gt;That did not seem to work for me. all i had to do was paste the code as is correct? because that gave me an error saying invalid expression.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 03:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159227#M367</guid>
      <dc:creator>GdB_Admin</dc:creator>
      <dc:date>2022-03-30T03:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Have a GUID field auto populate with an Attribute rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159228#M368</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/119500"&gt;@KimberlyGarbade&lt;/a&gt;&amp;nbsp;for the response&amp;nbsp;&lt;/P&gt;&lt;P&gt;It gives an error that says Invalid Expression. I do not believe that works for me. was it able to work for you Kim?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 03:46:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159228#M368</guid>
      <dc:creator>CHedger1227</dc:creator>
      <dc:date>2022-03-30T03:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Have a GUID field auto populate with an Attribute rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159294#M371</link>
      <description>&lt;P&gt;Sorry about that.&amp;nbsp; Try just&amp;nbsp; 'Return guid()' (without the 'digits').&amp;nbsp; This worked for me (I just tested it).&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;return guid()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 10:18:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159294#M371</guid>
      <dc:creator>KimberlyGarbade</dc:creator>
      <dc:date>2022-03-30T10:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Have a GUID field auto populate with an Attribute rule</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159413#M372</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/119500"&gt;@KimberlyGarbade&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that was it thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 14:45:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/have-a-guid-field-auto-populate-with-an-attribute/m-p/1159413#M372</guid>
      <dc:creator>CHedger1227</dc:creator>
      <dc:date>2022-03-30T14:45:42Z</dc:date>
    </item>
  </channel>
</rss>

