<?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 recreate a sequential field value using ObjectID value in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286175#M68838</link>
    <description>&lt;P&gt;I am using Pro. I pasted the code and I get the error I mentioned above.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-05 112359.png" style="width: 517px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69964i3E3EEFD011C1B523/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-05-05 112359.png" alt="Screenshot 2023-05-05 112359.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 05 May 2023 15:24:30 GMT</pubDate>
    <dc:creator>AndrewAidt2</dc:creator>
    <dc:date>2023-05-05T15:24:30Z</dc:date>
    <item>
      <title>How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286120#M68824</link>
      <description>&lt;P&gt;I am trying to get an empty unique ID field populated. The field is CarteID. I want a prefix of SSP and use the ObjectID field. Example: ObjectID is 10234 - I want the CarteID to be SSP10234. Using Python 3, how do I use the field calculator to populate this field. What Expression do I use?&lt;/P&gt;&lt;P&gt;Then, going forward, is there a way to automatically populate this field when someone adds a new feature?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 14:29:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286120#M68824</guid>
      <dc:creator>AndrewAidt2</dc:creator>
      <dc:date>2023-05-05T14:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286140#M68830</link>
      <description>&lt;P&gt;The following should work in python:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;"SSP" + !OBJECTID! &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for automatically populating the field moving forward I would suggest an attribute rule.&amp;nbsp; Something like this should do the trick. The Insert Trigger ensures that the field is only calculated when a new feature is created.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SHartholt_0-1683298275351.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69954iB88B3B1137893BCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SHartholt_0-1683298275351.png" alt="SHartholt_0-1683298275351.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 14:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286140#M68830</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-05-05T14:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286150#M68832</link>
      <description>&lt;P&gt;I am new to Python. How do I put this in the field calculator? What expression do I use? When I put&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;"SSP" + !OBJECTID! &lt;/PRE&gt;&lt;P&gt;in the Code Block I get an error: 2 parameters are missing or invalid.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:05:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286150#M68832</guid>
      <dc:creator>AndrewAidt2</dc:creator>
      <dc:date>2023-05-05T15:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286166#M68835</link>
      <description>&lt;P&gt;Are you using arcmap or arcgis pro? Either way, when you open the attribute table right click on the field name (&lt;SPAN&gt;CarteID) click&amp;nbsp;&lt;EM&gt;calculate field/Field Calculator&amp;nbsp;&lt;/EM&gt;and paste in the code. Make sure that the expression type/parser is python.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:18:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286166#M68835</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-05-05T15:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286175#M68838</link>
      <description>&lt;P&gt;I am using Pro. I pasted the code and I get the error I mentioned above.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-05 112359.png" style="width: 517px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69964i3E3EEFD011C1B523/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-05-05 112359.png" alt="Screenshot 2023-05-05 112359.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:24:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286175#M68838</guid>
      <dc:creator>AndrewAidt2</dc:creator>
      <dc:date>2023-05-05T15:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286184#M68839</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_0-1683300736777.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69967i98CF645218DE3E7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_0-1683300736777.png" alt="RhettZufelt_0-1683300736777.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:32:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286184#M68839</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-05T15:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286191#M68840</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-05-05 113900.png" style="width: 614px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69968i0A9D842DA93EF77E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-05-05 113900.png" alt="Screenshot 2023-05-05 113900.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:39:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286191#M68840</guid>
      <dc:creator>AndrewAidt2</dc:creator>
      <dc:date>2023-05-05T15:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286201#M68841</link>
      <description>&lt;P&gt;Working fine in 2.9.3 and 3.1.1.&lt;/P&gt;&lt;P&gt;It appears as if it doesn't like the first double quote in your syntax for some reason (perhaps copy/pasted in windoze).&amp;nbsp; Try replacing or just use single quotes, they work as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_0-1683301793280.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69970iDE84B7947115EB19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_0-1683301793280.png" alt="RhettZufelt_0-1683301793280.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_1-1683301840632.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69971iF7FB5118D5A56FB8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_1-1683301840632.png" alt="RhettZufelt_1-1683301840632.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:51:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286201#M68841</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-05T15:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286273#M68846</link>
      <description>&lt;P&gt;What is the blue 1 you have at the beginning? I don't get that.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 17:50:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286273#M68846</guid>
      <dc:creator>AndrewAidt2</dc:creator>
      <dc:date>2023-05-05T17:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286274#M68847</link>
      <description>&lt;P&gt;Mine is black...&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 17:50:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286274#M68847</guid>
      <dc:creator>AndrewAidt2</dc:creator>
      <dc:date>2023-05-05T17:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286292#M68849</link>
      <description>&lt;P&gt;That is the line number.&amp;nbsp; Not sure why yours is black (or mine is blue), probably a windows setting.&lt;/P&gt;&lt;P&gt;you can turn that on/off with right click (in Code Block as well).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_1-1683310094108.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69991i43438975158CEE20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_1-1683310094108.png" alt="RhettZufelt_1-1683310094108.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Did you get it to work?&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 18:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286292#M68849</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-05T18:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286293#M68850</link>
      <description>&lt;P&gt;OIC your issue now, yeah, that is a line number automatically inserted by Pro, NOT part of the code.&lt;/P&gt;&lt;P&gt;With line numbers off, should look more like this (with nothing in the Code Block section):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RhettZufelt_2-1683310435374.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/69992iFAF611A1DCE5FB4A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RhettZufelt_2-1683310435374.png" alt="RhettZufelt_2-1683310435374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;R_&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 18:14:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286293#M68850</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2023-05-05T18:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286321#M68852</link>
      <description>&lt;P&gt;Yes! Finally got it to work. I had other issues with unregistered feature classes I had to fix first.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 18:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286321#M68852</guid>
      <dc:creator>AndrewAidt2</dc:creator>
      <dc:date>2023-05-05T18:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to recreate a sequential field value using ObjectID value</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286322#M68853</link>
      <description>&lt;P&gt;RhettZufelt Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 18:43:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-recreate-a-sequential-field-value-using/m-p/1286322#M68853</guid>
      <dc:creator>AndrewAidt2</dc:creator>
      <dc:date>2023-05-05T18:43:21Z</dc:date>
    </item>
  </channel>
</rss>

