Select to view content in your preferred language

Automatic Field Updates once data insert or update

513
3
Jump to solution
01-08-2024 01:01 PM
vijaybadugu
Frequent Contributor

Hi, We have recently published the data with point and polygon together as webmap for QuickCapture. I need to update the integer field value as a random number generator and it should be Unique . I created Rel_GlobalID field to maintain relationship between point within the polygon.  in polygon feature class, If point is within the polygon, I am updating the point feature GlobalID in the polygon feature of Rel_GlobalID, otherwise updating null value to it.  I am doing with SQL triggers. to maintain consistency, Can we do same thing in arcade or some other functionality to achieve this.

0 Kudos
1 Solution

Accepted Solutions
MarceloMarques
Esri Regular Contributor

Attribute Rules are stored with the Geodatabase. The Attribute Rules are triggered when the edits are performed via a Feature Service or via ArcGIS Pro editing the featureclass directly. That is the power of Attribute Rules.

| Marcelo Marques | Esri Principal Product Engineer | Cloud & Database Administrator | OCP - Oracle Database Certified Professional | "In 1992, I embarked on my journey with Esri Technology, and since 1997, I have been working with ArcSDE Geodatabases, right from its initial release. Over the past 32 years, my passion for GIS has only grown stronger." | “ I do not fear computers. I fear the lack of them." Isaac Isimov |

View solution in original post

0 Kudos
3 Replies
MarceloMarques
Esri Regular Contributor

Introduction to attribute rules—ArcGIS Pro | Documentation

| Marcelo Marques | Esri Principal Product Engineer | Cloud & Database Administrator | OCP - Oracle Database Certified Professional | "In 1992, I embarked on my journey with Esri Technology, and since 1997, I have been working with ArcSDE Geodatabases, right from its initial release. Over the past 32 years, my passion for GIS has only grown stronger." | “ I do not fear computers. I fear the lack of them." Isaac Isimov |
0 Kudos
vijaybadugu
Frequent Contributor

The same can be worked even after publishing the either feature service or map service ?

0 Kudos
MarceloMarques
Esri Regular Contributor

Attribute Rules are stored with the Geodatabase. The Attribute Rules are triggered when the edits are performed via a Feature Service or via ArcGIS Pro editing the featureclass directly. That is the power of Attribute Rules.

| Marcelo Marques | Esri Principal Product Engineer | Cloud & Database Administrator | OCP - Oracle Database Certified Professional | "In 1992, I embarked on my journey with Esri Technology, and since 1997, I have been working with ArcSDE Geodatabases, right from its initial release. Over the past 32 years, my passion for GIS has only grown stronger." | “ I do not fear computers. I fear the lack of them." Isaac Isimov |
0 Kudos