|
POST
|
What is the desired output that you are trying to achieve with an isolation trace on the sewer network? I recall encountering an issue a while back that isolation did not work on sink networks.
... View more
03-19-2025
06:21 AM
|
0
|
1
|
1246
|
|
POST
|
Try this, enable the update trigger and then just check when the REL_GUID changes if ($originalfeature.REL_GUID == $feature.REL_GUID)
return
/// related guid from parent in nonspatial table
var rel_guid = $feature.REL_GUID;
// bring in grid feature class to get grid id
var grid_fs = FeatureSetByName($datastore, "Grid_Test", ["GLOBALID", "GRID_ID"], True);
// use filter technique to find matching record
var filtered_grid_fs = Filter(grid_fs, "GLOBALID = @REL_guid");
var first_grid_feat = First(filtered_grid_fs);
if (IsEmpty(first_grid_feat))
{
return;
}
var grid_id_value = first_grid_feat["GRID_ID"];
// Filter the grid features to find the one matching Grid ID
var filtered_grids = Filter(grid_fs, "GRID_ID = @grid_id_value");
// Retrieve the first grid feature and check
var first_grid = First(filtered_grids);
if (IsEmpty(first_grid))
{
return;
}
// Assemble the edit that creates the related polygon using grid geometry and attributes from the visit
return {
"edit": [{
"className": "Grid_Test_RelatePolygons",
"adds": [{
"attributes": {
"grid_id": grid_id_value // value to hold as an attribute transfer as well
},
"geometry": Geometry(first_grid)
}]
}]
};
... View more
03-19-2025
02:24 AM
|
0
|
0
|
3669
|
|
POST
|
https://github.com/Esri/arcade-expressions/blob/master/attribute-rules/attribute_rule_calculation/UpdateParentFeature.md Also, try the Update Related templated rule in https://github.com/Esri/arcade-expressions/blob/master/attribute-rules/attribute_assistant/AttributeAssistant.atbx
... View more
03-19-2025
01:54 AM
|
1
|
6
|
2088
|
|
POST
|
Enable the update event, and when $originalfeature.rel_guid == $feature.rel_guid return
... View more
03-18-2025
06:30 PM
|
0
|
0
|
1379
|
|
POST
|
Ahh, that explains it. I recall an issue with this workflow. The record is created, then the rel guid is updated.
... View more
03-18-2025
05:24 PM
|
0
|
2
|
2382
|
|
POST
|
Worked for me. How are you adding the rel_guid? The rule only fires on insert, so if you add the record and it saves, then you add the rel_guid, that is an update. You might need to add Update trigger event and then code for when that field changes using the $originalfeature.rel_guid != $feature.rel_guid
... View more
03-18-2025
05:01 PM
|
0
|
5
|
2387
|
|
POST
|
If you want to email me a repo dataset, happy to dive into it if you want [email protected]
... View more
03-18-2025
11:25 AM
|
0
|
8
|
2409
|
|
POST
|
If you want to send me a repo case, I can dive in and see what is going on. mmilller @ esri.com
... View more
03-18-2025
10:57 AM
|
0
|
0
|
1415
|
|
POST
|
I believe the AR is executed by the Data Owner. Does the Data Owner have permissions to that table?
... View more
03-18-2025
10:30 AM
|
1
|
1
|
1149
|
|
POST
|
Sadly that file imports fine and is valid. So there is something else at play here. It has to be network related. I tested from my laptop to a server in data center with unc path and could not repo even with really slow network times. Can you move it all locally and see what happens?
... View more
03-18-2025
09:58 AM
|
0
|
0
|
3165
|
|
POST
|
Try this: Should be able to reuse the FeatureSet Dont call Count if you are going to call first. // related guid from parent in nonspatial table
var rel_guid = $feature.REL_GUID;
// bring in grid feature class to get grid id
var grid_fs = FeatureSetByName($datastore, "Grid_Test", ["GLOBALID", "GRID_ID"], True);
// use filter technique to find matching record
var filtered_grid_fs = Filter(grid_fs, "GLOBALID = @REL_guid");
var first_grid_feat = First(filtered_grid_fs);
if (IsEmpty(first_grid_feat))
{
return;
}
var grid_id_value = first_grid_feat["GRID_ID"];
// Filter the grid features to find the one matching Grid ID
var filtered_grids = Filter(grid_fs, "GRID_ID = @grid_id_value");
// Retrieve the first grid feature and check
var first_grid = First(filtered_grids);
if (IsEmpty(first_grid))
{
return;
}
// Assemble the edit that creates the related polygon using grid geometry and attributes from the visit
return {
"edit": [{
"className": "Grid_Test_RelatePolygons",
"adds": [{
"attributes": {
"grid_id": grid_id_value // value to hold as an attribute transfer as well
},
"geometry": Geometry(first_grid)
}]
}]
};
... View more
03-18-2025
06:23 AM
|
0
|
10
|
2418
|
|
POST
|
I think something is up with using a network share as it is looking for CustomProjects\UtilityNetwork. In the output folder, there should be a XXX_classes.xml file. Can I get a copy of that? That would help identify what is wrong. The failure is importing that file, which lays down the structure of the Utility Network.
... View more
03-18-2025
05:33 AM
|
0
|
2
|
3191
|
|
POST
|
Change return null to just return Returning null means you are trying to set the assigned field to null.
... View more
03-15-2025
05:29 AM
|
0
|
0
|
1292
|
|
POST
|
The features association status will not get updated.
... View more
03-13-2025
04:30 AM
|
0
|
0
|
457
|
|
POST
|
What is the error message in the Dirty Area on error 29. Does it provide the GUIDs of all controllers in errors? Our guess is that we are creating an error for everything guid in the that error. On 3.1, the logic to remove duplicates had some issues.
... View more
03-12-2025
03:24 PM
|
0
|
0
|
1824
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | a month ago | |
| 1 | 06-26-2026 09:15 AM | |
| 1 | 06-05-2026 05:01 AM | |
| 1 | 06-02-2026 01:29 PM | |
| 2 | 05-27-2026 08:28 AM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|