<?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: How to create NextSequenceValue Id Attribute Rules for FGDB using Arcade in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-nextsequencevalue-id-attribute-rules/m-p/1585205#M93050</link>
    <description>&lt;P&gt;In recent releases of ArcGIS Pro, we have begun rolling out python tools that will assist users in creating attribute rules for common tasks. In ArcGIS Pro 3.4 we released the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/generate-id-attribute-rule.htm" target="_blank" rel="noopener"&gt;Generate ID Attribute Rule GP Tool.&lt;/A&gt;&amp;nbsp;This tool will author an attribute rule that generates a customizable ID for features in any workspace that supports attribute rules.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Check it out and let us know what you think.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2025 22:36:50 GMT</pubDate>
    <dc:creator>SSWoodward</dc:creator>
    <dc:date>2025-02-13T22:36:50Z</dc:date>
    <item>
      <title>How to create NextSequenceValue Id Attribute Rules for FGDB using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-nextsequencevalue-id-attribute-rules/m-p/1577045#M92105</link>
      <description>&lt;P&gt;How to generate the&amp;nbsp;NextSequenceValue&amp;nbsp; numbers using&amp;nbsp;Arcade expression in FGDM not in EGDM(enterprise geo database).&lt;/P&gt;&lt;P&gt;Please suggest any way how to create the attribute rules using&amp;nbsp;Arcade in FGDB&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2025 16:59:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-nextsequencevalue-id-attribute-rules/m-p/1577045#M92105</guid>
      <dc:creator>jayaramBirudukota</dc:creator>
      <dc:date>2025-01-18T16:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create NextSequenceValue Id Attribute Rules for FGDB using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-nextsequencevalue-id-attribute-rules/m-p/1577405#M92154</link>
      <description>Hello,&lt;BR /&gt;I attached code from the Address Management Solution that uses sequence values. Someone can correct me if I am wrong but you don't create a sequence value using Arcade. Instead you can use a sequence value that has already been created in your FGDB. The "Create Database Sequence" tool. Will allow you to create a new sequence with a starting id and increment value. Once you run the tool then you can use Arcade to get the sequence.&lt;BR /&gt;I hope that helps.&lt;BR /&gt;&lt;BR /&gt;Reference: &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-sequence.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/create-database-sequence.htm&lt;/A&gt;&lt;BR /&gt;// This rule will create a new unique id when an address point is created&lt;BR /&gt;//Trigger: insert&lt;BR /&gt;&lt;BR /&gt;// Define the id field&lt;BR /&gt;var id_field = "addressptid";&lt;BR /&gt;&lt;BR /&gt;// If the feature id is not blank or null return&lt;BR /&gt;If (!HasKey($feature, id_field)) return;&lt;BR /&gt;var id = $feature[id_field];&lt;BR /&gt;If (!IsEmpty(id)) return;&lt;BR /&gt;&lt;BR /&gt;// Define the name of the database sequence and the format for the id&lt;BR /&gt;// Text on either side of the ${ ... } will be added to the id&lt;BR /&gt;id = `ADD-${NextSequenceValue("AddressPointID")}`;&lt;BR /&gt;&lt;BR /&gt;// Return the new id&lt;BR /&gt;return {&lt;BR /&gt;"result": {&lt;BR /&gt;"attributes": Dictionary(id_field, id)&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Jan 2025 14:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-nextsequencevalue-id-attribute-rules/m-p/1577405#M92154</guid>
      <dc:creator>LyonMNGIS</dc:creator>
      <dc:date>2025-01-21T14:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create NextSequenceValue Id Attribute Rules for FGDB using Arcade</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-nextsequencevalue-id-attribute-rules/m-p/1585205#M93050</link>
      <description>&lt;P&gt;In recent releases of ArcGIS Pro, we have begun rolling out python tools that will assist users in creating attribute rules for common tasks. In ArcGIS Pro 3.4 we released the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/generate-id-attribute-rule.htm" target="_blank" rel="noopener"&gt;Generate ID Attribute Rule GP Tool.&lt;/A&gt;&amp;nbsp;This tool will author an attribute rule that generates a customizable ID for features in any workspace that supports attribute rules.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Check it out and let us know what you think.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 22:36:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-create-nextsequencevalue-id-attribute-rules/m-p/1585205#M93050</guid>
      <dc:creator>SSWoodward</dc:creator>
      <dc:date>2025-02-13T22:36:50Z</dc:date>
    </item>
  </channel>
</rss>

