Select to view content in your preferred language

Update of field values for features

2160
1
Jump to solution
07-14-2023 07:06 AM
MaikHeinze
Occasional Contributor

Hey,

I work with ArcGIS Pro and I have attribute rules that transfer values to features. I want to select these features and, if possible, update the fields in the feature with a button click.

Is there a way to update selected attributes? When updating, all fields of the selected features should be updated.

A bulk update would also be fine. The main thing is that the fields get updated.

King regards

Maik

1 Solution

Accepted Solutions
JohannesLindner
MVP Alum

Well, you could implement your rules as Batch Calculation Rules and execute them with Evaluate Rules, which isn't quite one-click, but it doesn't take too long to start.

JohannesLindner_0-1689378064035.png

 

But that is probably not the route you want to take, since I think you have implemented (almost) all of your rules as Immediate Calculation Rule. For these rules to be executed, you have to trigger them. The rules you care about in this scenario will be triggered on updates, so just update your features.

You can do it manually, or you can do it with Calculate Field. Doing it with the tool has benefits:

  • faster
  • possible automation (write a little Python script or ModelBuilder model)
  • you don't actually have to change values. Just returning the value that is in the field will trigger update rules.
  • honors the selection in the layer, only those features will be updated

Take any editable field and do something like this:

JohannesLindner_1-1689378396945.png

 


Have a great day!
Johannes

View solution in original post

1 Reply
JohannesLindner
MVP Alum

Well, you could implement your rules as Batch Calculation Rules and execute them with Evaluate Rules, which isn't quite one-click, but it doesn't take too long to start.

JohannesLindner_0-1689378064035.png

 

But that is probably not the route you want to take, since I think you have implemented (almost) all of your rules as Immediate Calculation Rule. For these rules to be executed, you have to trigger them. The rules you care about in this scenario will be triggered on updates, so just update your features.

You can do it manually, or you can do it with Calculate Field. Doing it with the tool has benefits:

  • faster
  • possible automation (write a little Python script or ModelBuilder model)
  • you don't actually have to change values. Just returning the value that is in the field will trigger update rules.
  • honors the selection in the layer, only those features will be updated

Take any editable field and do something like this:

JohannesLindner_1-1689378396945.png

 


Have a great day!
Johannes