<?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: Auto-Updating features in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157769#M43931</link>
    <description>&lt;P&gt;Thanks Amanda.&amp;nbsp; I'll keep that in mind.&lt;/P&gt;&lt;P&gt;So far I've been messing with the Attribute Rules/Assistant as well as creating custom Add-Ins in Visual Studio to listen for editing events.&amp;nbsp; They both work OK, but are not 100% fool-proof.&amp;nbsp; There's always certain situations where they don't work.&lt;/P&gt;&lt;P&gt;I'm hoping our DBA's can sort out something on the back-end.&lt;/P&gt;&lt;P&gt;Thanks for your input.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 12:47:52 GMT</pubDate>
    <dc:creator>BrianBulla</dc:creator>
    <dc:date>2022-03-25T12:47:52Z</dc:date>
    <item>
      <title>Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157502#M43923</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What I need to do is figure out how to update a field in any feature class each time an edit is made to it.&amp;nbsp; This is to support our asset management system, Maximo.&lt;/P&gt;&lt;P&gt;The field is called MXCREATIONSTATE and will exist on many different feature classes in our corporate SDE.&amp;nbsp; Some users use ArcMap, some use ArcGIS Pro, some use FME to make updates, some use web editing tools.&amp;nbsp; Going forward other front-end apps could also make edits.&lt;/P&gt;&lt;P&gt;What is the best way to handle this sort of situation?&amp;nbsp; The out-of-the-box Attribute Rules/Attribute Assistant don't really seem to cover all the bases here.&lt;/P&gt;&lt;P&gt;Basically, anytime an edit is made (or new feature is created) MXCREATIONSTATE must be updated to 1.&lt;/P&gt;&lt;P&gt;Any ideas are appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 19:43:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157502#M43923</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2022-03-24T19:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157516#M43924</link>
      <description>&lt;P&gt;Hello Brian,&lt;/P&gt;&lt;P&gt;What version of ArcGIS Desktop are you using?&amp;nbsp; ArcMap? ArcGIS Pro?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 20:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157516#M43924</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2022-03-24T20:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157518#M43925</link>
      <description>&lt;P&gt;This is one of the "greatest hits" here on the Community. Unfortunately, there's nothing "off the shelf" in the Esri-verse that accomplishes what you're looking to do, if Attribute Rules doesn't quite fit the bill. Why exactly doesn't an Attribute Rule work here, though?&lt;/P&gt;&lt;P&gt;Alternatively, you may be able to use a SQL trigger in your SDE, but that's a bit out of my wheelhouse.&lt;/P&gt;&lt;P&gt;And also, you could just create a bare-bones Python script to run a field calculation at regular intervals to get as close to "real-time" updates as possible.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 20:07:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157518#M43925</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-03-24T20:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157531#M43926</link>
      <description>&lt;P&gt;Hello Brian,&lt;/P&gt;&lt;P&gt;I was thinking maybe a relationship class?&lt;/P&gt;&lt;P&gt;See info here:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/2.8/tool-reference/data-management/create-relationship-class.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/2.8/tool-reference/data-management/create-relationship-class.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 20:44:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157531#M43926</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2022-03-24T20:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157691#M43927</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Why exactly doesn't an Attribute Rule work here, though?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;Brian first asked this question in the ArcGIS Pro SDK community, where I told him that. My reason for that was that some of the users work in ArcMap, which doesn't like Attribute Rules. I don't know about FME, webservices and "other front-end apps" probably depends.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If there was a way to get Attribute Rules to work reliably in all those systems, they would of cource be the goto choice for something this simple.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Calculation Attribute Rule
// field: MXCREATIONSTATE 
// triggers: insert, update
if($editcontext.editType == "INSERT") {
    return 1
}
if($feature.MXCREATIONSTATE != $originalfeature.MXCREATIONSTATE) {
    return $feature.MXCREATIONSTATE
}
return 1&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 25 Mar 2022 07:12:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157691#M43927</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-03-25T07:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157753#M43928</link>
      <description>&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;Because as you seem to know already, not all systems work with Attribute Rules.&amp;nbsp; Even with between ArcMap and ArcGIS Pro, I would need implement two different systems to accomplish the same thing.&amp;nbsp; Then add in all the ArcGIS Online products.&amp;nbsp; If I use QuickCollect to capture features then I also have to accommodate for this, as well any other web-editing product.&amp;nbsp; It would be a perpetual cycle of constantly having to make adjustments to any bit of code/app anyone creates going forward in order to accomodate for this MXCREATIONSTATE field.&lt;/P&gt;&lt;P&gt;IMO the best solution is something that works on the back-end and is invisible to the front-end users/developers.&lt;/P&gt;&lt;P&gt;SQL Triggers might just be it, but that is up to the DBAs to decide.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 12:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157753#M43928</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2022-03-25T12:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157756#M43929</link>
      <description>&lt;P&gt;Hi Amanda,&lt;/P&gt;&lt;P&gt;I don't quite see how a relationship class would help.&amp;nbsp; Can you explain??&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 12:25:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157756#M43929</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2022-03-25T12:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157759#M43930</link>
      <description>&lt;P&gt;Good Morning Brian,&lt;/P&gt;&lt;P&gt;The idea is to take advantage of the parent/child relationship that is possible with a relationship class. Depending on the cardinality of the relationship, you may have to assess a different approach, but the relationship class description for the composite relationship seems appropriate.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;A composite relationship is one in which the lifetime of one object controls the lifetime of its related objects. For example, power poles support transformers, and transformers are mounted on poles. Once a pole is deleted, a delete message is propagated to its related transformers, which are deleted from the transformers' feature class. Composite relationships are always one-to-many.&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 25 Mar 2022 12:35:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157759#M43930</guid>
      <dc:creator>ABishop</dc:creator>
      <dc:date>2022-03-25T12:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157769#M43931</link>
      <description>&lt;P&gt;Thanks Amanda.&amp;nbsp; I'll keep that in mind.&lt;/P&gt;&lt;P&gt;So far I've been messing with the Attribute Rules/Assistant as well as creating custom Add-Ins in Visual Studio to listen for editing events.&amp;nbsp; They both work OK, but are not 100% fool-proof.&amp;nbsp; There's always certain situations where they don't work.&lt;/P&gt;&lt;P&gt;I'm hoping our DBA's can sort out something on the back-end.&lt;/P&gt;&lt;P&gt;Thanks for your input.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 12:47:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157769#M43931</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2022-03-25T12:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157785#M43932</link>
      <description>&lt;P&gt;Any thoughts as to the Python-based approach?&lt;/P&gt;&lt;P&gt;If your service has editor tracking enabled, and thus a &lt;STRONG&gt;last_edited_date &lt;/STRONG&gt;field, this kind of thing would be incredibly simple. You'd need to keep track of when the script was last successfully run, perhaps with a config file. I have a script that does this sort of thing, though it only runs daily. Still, the whole thing only takes a couple seconds to run, so this could be firing many times a minute with room to spare.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from arcgis import GIS
from configparser import ConfigParser
from datetime import datetime

# portal connection
gis = GIS('your portal url', 'user', 'pass')

# get layer
fl = gis.content.get('itemid of service').layers[0] # or whatever layer index applies

# read config file
config = ConfigParser()
config.read('config.ini')

# get last run timestamp from config
last_run = config.get('last_run', 'time')

# calculate field, using timestamp to selectively identify new adds/edits
fl.calculate(
    where = f"last_edited_date &amp;gt;= timestamp '{last_run}'",
    calc_expression = {'field': 'MXCREATIONSTATE', 'value': 1}
)

# set last run timestamp to current date
config.set('last_run', 'time', datetime.now().strftime('%Y-%m-%d %H:%M:%S'))

with open('config.ini', 'w') as c:
    config.write(c)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Note that the method you use to query a layer based on a timestamp may differ depending on your DB. We're on postgreSQL, so &lt;STRONG&gt;timestamp 'YYYY-MM-DD HH:MM:SS' &lt;/STRONG&gt;is what we use.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 13:37:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157785#M43932</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-03-25T13:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157794#M43933</link>
      <description>&lt;P&gt;Hi Josh,&lt;/P&gt;&lt;P&gt;I'm going to plead ignorance on this one.&amp;nbsp; I have no clue how web-editing works, so not really sure what to think.&amp;nbsp; I am just a front-end user and do all my work in ArcMap/ArcGIS Pro with some development work customizing the desktop with Add-Ins.&amp;nbsp; But I will take what you have suggested to our IT department who manage all of our servers/GIS and see what they think.&lt;/P&gt;&lt;P&gt;We don't really do a lot of web-editing right now, but have been experimenting with Geocortex GO.&amp;nbsp; Would what you are suggesting work with any web-editing app??&lt;/P&gt;&lt;P&gt;Thanks for your input!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 13:47:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157794#M43933</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2022-03-25T13:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157801#M43934</link>
      <description>&lt;P&gt;Assuming your layer is a published &lt;EM&gt;service &lt;/EM&gt;in your GIS portal, it just runs against the service directly, so apps and web editing don't really come into play here. Since the ArcGIS Python API only requires authentication with your portal, it can be run nearly &lt;EM&gt;anywhere&lt;/EM&gt;, even on a headless Linux machine.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 13:54:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157801#M43934</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-03-25T13:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157809#M43935</link>
      <description>&lt;P&gt;Ugh, Maximo Spatial. You poor soul.&lt;/P&gt;&lt;P&gt;We took a deep dive with our Maximo/GIS integrations a couple of years ago. We abandoned most of the IBM mechanisms, including the MXCREATIONSTATE field thing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I honestly don’t know where to start. There are so many things I want to warn you about.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;is on the right track with the last_edited_date thing, as an alternative to&amp;nbsp;MXCREATIONSTATE.&lt;BR /&gt;We did it by using database views on our feature classes to generate a&amp;nbsp;sync_needed field, in conjunction with a database link to the Maximo database:&lt;/P&gt;&lt;PRE&gt;select&lt;BR /&gt;    ...,&lt;BR /&gt;    case  &lt;BR /&gt;        when fc.last_edited_date &amp;gt; maximo_asset.lastsyncdate or maximo_asset.lastsyncdate is null then 1&lt;BR /&gt;        else 0&lt;BR /&gt;    end as sync_needed&lt;BR /&gt;from&lt;BR /&gt;    gis_fc fc&lt;BR /&gt;left join&lt;BR /&gt;    custom_maximo_owner.asset@gistomax maximo_asset --this is a dblink in the Maximo database that lets GIS select from the Maximo asset table&lt;BR /&gt;    on fc.asset_id = maximo_asset.assetnum&lt;BR /&gt;&lt;BR /&gt;--note: lastsyncdate is a custom field we created in the Maximo asset table. It's easy to populate that field with the Maximo system time using the &lt;SPAN&gt;&amp;amp;SYSDATE&amp;amp; default value: https://i.stack.imgur.com/2cNyk.png&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;One additional benefit to using a db view in GIS is that you can translate/format your data &lt;U&gt;&lt;EM&gt;before&lt;/EM&gt;&lt;/U&gt;&amp;nbsp;it gets to Maximo. That's potentially easier than trying to do the translation in Maximo's JSON Mapping application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:43:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157809#M43935</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-03-28T13:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157830#M43936</link>
      <description>&lt;P&gt;Various other things to keep in mind:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Regarding Maximo Spatial's&amp;nbsp;&lt;SPAN&gt;MXCREATIONSTATE / sync mechanism: Bear in mind that when Maximo syncs a record, it will then update the MXCREATIONSTATE field in GIS to "successfully synced" or whatever the actual numeric code is (I can't remember). The problem with that is: I believe the edit will &lt;STRONG&gt;trigger editor tracking&lt;/STRONG&gt;, since the edit is done through the ArcGIS REST API. So, if you were using that editor tracking field for other stuff in GIS, then it means that Maximo has compromised your editor tracking info. Your editor tracking will indicate the last time Maximo edited the field, not necessarily the last time a user edited the field.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Maximo Spatial's cron task for syncing GIS records to Maximo sometimes fails. There are scenarios where it runs, but nothing happens -- no records are synced. So you don't want to use logic like the following: &lt;EM&gt;"If the last Maximo cron run date is less than the GIS last_edited_date, then sync the record"&lt;/EM&gt;. The last cron run date in Maximo will be misleading in that case...records likely failed to sync,&amp;nbsp;and wouldn't be picked up in the next sync.&lt;/LI&gt;&lt;LI&gt;If I remember correctly, GIS's editor tracking fields need to be set to UTC time -- for ArcGIS-specific reasons that I can't remember off hand. However, the time zone in Maximo will likely be different. So comparing date fields between the two systems/time zones can get messy.&lt;BR /&gt;With that said, we put some thought into the logic at play, and didn't think the time zone thing would end up being a problem for us -- for our weekly asset syncs.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:45:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157830#M43936</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-03-28T13:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157848#M43937</link>
      <description>&lt;P&gt;Hi Bud,&lt;/P&gt;&lt;P&gt;Thanks for sharing.&amp;nbsp; Yes, I represent an end user group (public Works) where many of our assets we maintain through GIS need to be used within Maximo.&amp;nbsp; I do not think we are implementing the mapping functionality of Maximo, but we still need to maintain the Maximo field within our GIS.&amp;nbsp; The following fields are added to our data:&amp;nbsp; MXCREATIONSTATE, MXSITEID and MSASSETNUM.&lt;/P&gt;&lt;P&gt;From what I remember, we update MXCREATIONSTATE to "1" for each edit/new feature, and then once Maximo syncs itself up, Maximo sets them all back to "0".&lt;/P&gt;&lt;P&gt;With your system, how are you dealing with system deletes out of the GIS.&amp;nbsp; How is Maximo recognizing deleted items??&lt;/P&gt;&lt;P&gt;Thanks for reminding me about user tracking.&amp;nbsp; We do have Editor Tracking enabled right now, so something will need to be figured out for that.&amp;nbsp; I think that is why I originally started creating Visual Studio Add-Ins to listen for edit/new feature events, so I could auto populate the editor fields as well as the Maximo fields, but it's not fool-proof.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 15:14:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157848#M43937</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2022-03-25T15:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157851#M43938</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN&gt;The problem with that is: that edit will &lt;STRONG&gt;trigger editor tracking&lt;/STRONG&gt;, since the edit is done through the ArcGIS REST API.&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Did your group look into SQL Triggers to help with this?&amp;nbsp; I'm not a DBA, but I would think if you could set up rules where the Triggers will not run when Maximo is doing it's reconciliation of records, and then enable them again once complete.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 15:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157851#M43938</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2022-03-25T15:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157929#M43939</link>
      <description>&lt;P&gt;Have you tried managing the templates before publishing?&amp;nbsp; Just set the template property of the MXCREATIONSTATE attribute to 1 before publishing. This is how I manage something very similar.&amp;nbsp; I am not sure how it handles edits if they already have a different value, but this could probably be handled in the in the domains of the database and setting the properties of split/merge policy to default.&amp;nbsp; You will also need to change the default value of feature class' field value too.&amp;nbsp; &amp;nbsp;Do all this before publishing as well.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/editing/create-a-feature-template.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/editing/create-a-feature-template.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Edit:&amp;nbsp; Here is an example.&amp;nbsp; To not confuse you, the Template Properties I did in pro, and the others I used old school ArcCatalog.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Template.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/37383iF4AB2DBABB54E797/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Template.jpg" alt="Template.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DB_Properties.jpg" style="width: 317px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/37384i42303CA4051F522C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DB_Properties.jpg" alt="DB_Properties.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FC_Properties.jpg" style="width: 322px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/37385iD16E4CC5ACA8304E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FC_Properties.jpg" alt="FC_Properties.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 18:02:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157929#M43939</guid>
      <dc:creator>MatthewDriscoll</dc:creator>
      <dc:date>2022-03-25T18:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157953#M43940</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Regarding triggers:&lt;/STRONG&gt; No, we didn't investigate them. We have 20-40 GIS layers that we integrate to Maximo. Triggers on 40 layers seemed like it'd be a lot to manage. The db view option seemed simpler for our purposes. And as analysts, we could create and manage the views ourselves, whereas we'd need to get other staff involved with triggers, which would have taken extra time.&lt;/P&gt;&lt;P&gt;The db views (and dblink) option I mentioned worked well for us. And like I said, we needed to translate the GIS data for Maximo anyway, so db views worked good for that too.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Edit:&lt;/FONT&gt; I forgot to mention that we take the db views and export them to feature classes on a schedule. Reason: static feature classes are faster than views.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Regarding deletes:&lt;/STRONG&gt; If I remember correctly, once an asset is created (or integrated) in Maximo, Maximo won't allow us to delete it. We can only "decommission" it. So our hands were tied -- we had to come up with a "don't delete GIS assets, only flag them as decommissioned" business rule for our GIS technicians. We'll likely enforce that rule using ArcGIS Pro &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-script-expression.htm#:~:text=is%20returned%20and-,the%20edit%20fails,-.%20The%20rule%20is" target="_self"&gt;attribute rules&lt;/A&gt;. We've already done it for a couple of FCs. But it sounds like attribute rules aren't an option for you.&lt;BR /&gt;Is your GIS data versioned? If so, then it isn't possible to allow edits, and at the same time, specifically prevent deletes. At least not through the ArcMap/ArcGIS Pro privilege settings for a given feature class.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;With that said, I did come up with a proof-of-concept db trigger that seemed to work with versioned feature classes. But my testing was limited (I didn't end up needing the trigger; we'll probably use attribute rules instead).&amp;nbsp;&lt;A href="https://gis.stackexchange.com/a/372735/135445" target="_self"&gt;Prevent deletes in a versioned table at the database level&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:56:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157953#M43940</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-03-28T13:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157960#M43941</link>
      <description>&lt;P&gt;If I've understood correctly (it's possible that I haven't), I think you're suggesting that all rows in all FCs be flagged as needing to be synced to Maximo. We wondered about that too...just sync everything...once a week or once a month. That would be nice and simple.&lt;/P&gt;&lt;P&gt;The problem with that is that the Maximo Integration Framework (MIF) is relatively slow. A municipality like&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/132711"&gt;@BrianBulla&lt;/a&gt;'s (or ours) has hundreds of thousands, possibly millions, of asset records. Unfortunately, it would take Maximo several days or even weeks to do a sync like that. So it wouldn't be feasible.&lt;/P&gt;&lt;P&gt;The challenge is: How to flag new or updated GIS features -- so that only those changes, aka "the delta" are synced to Maximo. IBM's mechanisms for this sort of thing are naive/incorrect. A lot of organizations try to find alternatives. Companies like ActiveG and GeoNexus have made entire products for it.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 14:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1157960#M43941</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-03-28T14:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-Updating features</title>
      <link>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1158003#M43942</link>
      <description>&lt;P&gt;Thanks Bud,&lt;/P&gt;&lt;P&gt;This is giving me lots to think about, although being a front-end user I'm not sure how much say in any of this I really have.&amp;nbsp; I just know that we don't want to make huge changes to our current work processes in order to accommodate Maximo.&lt;/P&gt;&lt;P&gt;Regarding "Deletes", how does your GIS function if you don't remove features?&amp;nbsp; For example, if you do a road rehab contract and completely replace the storm sewer, what happens with the original features?&lt;BR /&gt;&lt;BR /&gt;For us, we need to remove features immediately.&amp;nbsp; For instance, if a hydrant gets replaced, we delete it and add a new one.&amp;nbsp; Our GIS feeds into our inspection programs, asset management, mapping, web viewers, etc.&amp;nbsp; I can't have our depot guys going out looking to do inspections on hydrants that aren't really there.&lt;/P&gt;&lt;P&gt;It just seems that Maximo does not have a way to deal with the deleted GIS features, and I guess they just stay in Maximo forever??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 19:38:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/auto-updating-features/m-p/1158003#M43942</guid>
      <dc:creator>BrianBulla</dc:creator>
      <dc:date>2022-03-25T19:38:54Z</dc:date>
    </item>
  </channel>
</rss>

