|
POST
|
Hey Borja We don't recommend using DML to update the same feature, that will trigger further attribute rules and will end up in a cycle (shouldn't crash though) In 2.7 we have introduced the ability to assign "SHAPE" field as a target field so you can update the feature's geometry directly. That is the recommended way.
... View more
01-29-2021
09:21 AM
|
0
|
2
|
1526
|
|
POST
|
Ability to update other classes/tables (related or not) can be done through the DML dictionary explained in this blog https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/advanced-gdb-attribute-rules-editing-external-features-with-attribute-rules/ hope this helps!
... View more
01-26-2021
08:38 AM
|
3
|
1
|
3070
|
|
POST
|
Here is my guess, your observations are correct, portal web editor sends an applyEdit for every edit you make and unfortunately it is not aware of the server side edits happening on the backend (unlike pro). I think whats happening the lastEdits value are nulls in Portal editor and the backend is taking them as just an other "edit" overwriting what the attribute rule just wrote. That explains why you only see the last edit. A fix maybe to prevent editing to lastEdits fields by making them non-editiable (through attribute rule) this way portal editor will avoid writing entries to those fields. The other way is what you suggested by taking the previous lastEdit value. Eventually we will teach portal editor to be aware of server edits such as attribute rules and refresh the state in the client with the updated values.
... View more
01-13-2021
02:23 PM
|
0
|
0
|
1339
|
|
POST
|
Just did a quick test on 2.7 and seems to be working created two point classes testfrom and test created a bunch of features in testfrom created a sequence + AR above on Test class executed an append from testfrom-> test and the resulting AR got executed as expected.
... View more
01-13-2021
02:03 PM
|
2
|
0
|
1881
|
|
POST
|
This is probably what you are looking for Joe, Batch Calculation / Validation Rules which can be executed through the Evaluate method in error inspector in Pro or through the REST end point. Video here https://community.esri.com/t5/attribute-rules-videos/create-publish-and-work-with-batch-calculation-and-validation/m-p/976977#M10
... View more
01-13-2021
01:50 PM
|
3
|
4
|
6700
|
|
POST
|
Hard to tell from the script whats going on, but I modified the script to be more readable and less error prune by using the inline sql semantics so it takes care things for us like adding single quotes or dates predicates You get the error on that line because thats when Arcade actually executes the query filter, make sure that the stationId is actually a valid globalId. //get the guid of the table feature being updated
var lstationId = $feature.LStationID;
var filter_query = "GlobalID = @lstationId";
//find the lift station layer
//$datastore is the current geodatabase
//get the GlobalId and STATIONNAME field
var related_fs = FeatureSetByName($datastore, 'gisdmz.SDECB.wwLiftStation',['GlobalID','STATIONNAME'])
//get the guid of the table feature being updated
var filter_query = "GlobalID = @lstationId";
//find the station by filtering on the Guid
var related_filter = Filter(related_fs, filter_query)
var output = ''
for (var related_row in related_filter)
output += related_row.STATIONNAME
return {
"result": output
}
... View more
01-13-2021
01:48 PM
|
1
|
1
|
1414
|
|
POST
|
Hey guys, if you want to stay up to date with all our new attribute rules video make sure to save this YouTube playlist, https://www.youtube.com/playlist?list=PLGZUzt4E4O2I-L8Dh8gIfWUeCcyz9hLLx We will keep updating it with content frequently. -Hussein
... View more
01-13-2021
01:17 PM
|
4
|
8
|
3179
|
|
POST
|
Learn how to use the getUser function in ArcGIS Pro 2.7 to create an attribute rule that can prevent editing by certain users. If you are interested in following along, you can find sample scripts at the following location: https://bit.ly/2Vv7tKt
... View more
01-13-2021
01:15 PM
|
4
|
2
|
5146
|
|
POST
|
Learn about a new capability with ArcGIS Pro 2.7 and Enterprise 10.9 that enables you to update multiple fields with a single attribute rule. If you are interested in following along, you can find sample scripts at the following location: https://bit.ly/2Vv7tKt
... View more
01-13-2021
01:13 PM
|
1
|
1
|
3616
|
|
POST
|
Learn how to use the gdbVersion Arcade function in ArcGIS Pro 2.7 to create an attribute rule that can perform logic based on the connected version. If you are interested in following along, you can find sample scripts at the following location: https://bit.ly/2Vv7tKt
... View more
01-13-2021
01:11 PM
|
2
|
2
|
1861
|
|
DOC
|
Source code for What's New in Attribute Rules in 2.7
... View more
11-30-2020
01:05 PM
|
10
|
3
|
8557
|
|
POST
|
Hey Jeff can you view this ? https://www.youtube.com/watch?v=QPV_ydeoVY0
... View more
09-29-2020
08:51 AM
|
1
|
0
|
7138
|
|
POST
|
Yup you can do this with a calculation rule easily. constrain prevent edits, calculation changes the state of the row.
... View more
09-25-2020
02:03 PM
|
0
|
2
|
6925
|
|
POST
|
Yes it is possible, create a constraint attribute rule on an update trigger and use $feature to query the related table to see if object still exist in the related table and block the edit if the object has been severed from the parent. if you found a row that means the object still related, if you didn't that mean the object has just been recently removed and as a result you can block that by return false.
... View more
09-25-2020
01:43 PM
|
0
|
4
|
6925
|
|
BLOG
|
Yes you can perform that task with Attribute Rules using Arcade as a language to write the script. Attribute Rules are currently not available for offline collector use. This will come in the future. Today you can make edits through collector directing to a feature service that has layers with attribute rules and those rules will get executed. that being said , If you take the map offline make edits and then sync back at the time of sync the attribute rules will be executed.
... View more
09-21-2020
08:25 AM
|
0
|
0
|
3755
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-19-2026 09:52 AM | |
| 1 | 03-19-2026 06:18 AM | |
| 3 | 01-26-2026 02:25 PM | |
| 3 | 01-05-2026 03:50 PM | |
| 5 | 12-30-2025 10:25 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-19-2026
06:14 AM
|