|
POST
|
That should be possible, you need to add an attribute rule to the related table. One thing to watch for is cyclic execution and infinite loops. (Parent updates child, child turns out updates parent, which turns out and update child and that goes on.) We detect and protect against such cases but you will need to write the rules such that it has a base condition to quit.
... View more
02-07-2022
04:42 PM
|
0
|
0
|
6355
|
|
POST
|
Which Pro version? Does the class have batch calculation or validation rules (check the datasource to see if GDB_Validationxxxx classes exist) Which data source is this ? (filegdb/mobilegdb/enterprise feature service?) Note that the add error layers only work through mobilegdb/filegdb and in feature services after consuming the feature service which has a validation capability enabled. this video might help https://www.youtube.com/watch?v=HFHJFCn2E1M
... View more
01-20-2022
10:58 AM
|
1
|
0
|
1918
|
|
POST
|
This is happening because the AR tried to use a field that was not fetched by python. Two solutions, you can wrap the python call with arcpy.da.Editor(str(workspacepath)) which will give the editor context. or you can include all the fields that the AR require in the UpdateCursor call (cptraceability) in this case.
... View more
12-13-2021
02:51 PM
|
1
|
1
|
2479
|
|
POST
|
When you share a webmap with named trace configuration, the GUIDs of the trace configuration is persisted in the webmap definition along side the utility network layer. The full definition of the trace configuration can be retrieved through the UtilityNetworkServer by passing the GUID to /trace. This is so that you can alter the trace configuration without republishing the webmap and also to keep the definition of the webmap compact.
... View more
10-25-2021
07:58 AM
|
1
|
5
|
3947
|
|
POST
|
I just pushed a fix for few bugs that I found, can you try again? https://github.com/hussein-nasser/un-js-api-demo/blob/master/un-js-api-demo.html
... View more
10-22-2021
05:55 AM
|
0
|
7
|
3960
|
|
POST
|
Can you try your rule on a FileGDB? see if you experience the behavior. If you don't, then we know this bug was fixed in 2.8 and Enterprise 10.9 will have the fix.
... View more
10-08-2021
08:18 AM
|
0
|
2
|
6109
|
|
POST
|
Hey Billy, Do you know which ArcGIS Pro/Enterprise you are running? We had a bug with Null persistence in Arcade that we fixed in Pro 2.8 (Enterprise 10.9).
... View more
10-08-2021
08:02 AM
|
0
|
4
|
6114
|
|
POST
|
Hey Anthony This is a known bug, the error layer of validation server should be included and packaged in the project package. They are currently not packaged (you get an error when you try) and you will have to add them manually every time. Edit: Bug number BUG-000151105 -Hussein
... View more
10-04-2021
01:40 PM
|
0
|
6
|
2900
|
|
BLOG
|
AmirBar-Maor from the parcel fabrics team wrote a cool attribute rule that allows you to auto-snap to the feature near by after creating or updating a feature. In 2.7, we added the ability to assign an attribute rule to the shape field, which will allow the Arcade expression to return a geometry to update the $feature geometry. This opens up all sorts of workflows, including the one Amir built, which is the snapping. I thought it the attribute rules community will enjoy this https://community.esri.com/t5/arcgis-parcel-fabric-blog/using-attribute-rules-to-update-the-line-geometry/bc-p/1103951
... View more
10-01-2021
08:04 AM
|
2
|
2
|
2394
|
|
POST
|
The utilitynetwork layer id will be different for each feature service. You can find the utility network layer id dynamically for any feature service (if it exists) by querying the feature service definition.
... View more
09-07-2021
11:03 AM
|
0
|
1
|
5216
|
|
POST
|
You can call `queryDataElement` rest call on the feature service and provide the utility network layer id. https://server.esri.com/server/rest/services/service_name/FeatureServer/queryDataElements [13] is the utility network layer id You can find the utility network layer id querying the feature service definition and looking up utilityNetworkdatasetId "controllerDatasetLayers": { "utilityNetworkLayerId": 13 },
... View more
09-07-2021
09:44 AM
|
1
|
3
|
5238
|
|
POST
|
Hey Billy I suggest reading the blog I authored on this topic. It has basic examples of creating associations of all types using attribute rules. The rule you have is so large to debug without the data. I suggest starting with a simpler rule to narrow down whats wrong. It might help to work with a file geodatabase so altering and testing the rule is easier. Then deploy it to enterprise. https://www.esri.com/arcgis-blog/products/utility-network/electric-gas/advanced-attribute-rules-creating-utility-network-associations-with-attribute-rules/
... View more
09-02-2021
08:04 AM
|
0
|
1
|
2757
|
|
POST
|
Constraint rules are always evaluated after Immediate calculation rules in the execution order. I'd like to request few details to understand the context, Is the SQL Geodatabase client server direct connect Or published through a service? And What is the versioning model and DBMS? Also the Pro used and Enterprise Versions. While you get those try the following, turn off "Exclude from application evaluation" on the constraint rules and calculation rules.
... View more
08-24-2021
12:29 PM
|
0
|
0
|
1995
|
|
POST
|
The constraint rule does the following: Only allow features to be edited/created when their status is 1 and the street_id is null. Any other value, fail the edit which is what you are experiencing. You might want to define your logic more explicitly. I'm assuming you want to ONLY fail when the status is 1 AND the street_Id is not NULL. You can specify your logic this way. if ($feature.street_status==1 && $feature.street_id != null)
return false;
else
return true;
... View more
08-23-2021
04:32 PM
|
1
|
0
|
2053
|
|
POST
|
That statement is correct and should work p.s. it is not Arcade, it is SQL.
... View more
08-20-2021
09:05 AM
|
1
|
0
|
1612
|
| 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
|