|
POST
|
Hi all - In our current implementation use use several "static" versions to assist with Geodatabase change detection. For example, there is a nightly process that compares a static version with SDE.Default to determine which feeders have changed in order to inform the OMS interface which feeders need to be extracted and updated in the OMS database. There are other static versions for other, somewhat similar purposes. For OMS we might be using ArcFM GDBM/Feeder Services to detect changes. But for other, non-feeder change purposes, we're wondering if we need to keep static versions around. Any thoughts/experiences on this would be much appreciated. Thanks, Ed
... View more
04-17-2026
01:27 PM
|
0
|
5
|
994
|
|
POST
|
I've been trying to figure out, without success, how to present a form to a user from within a handled edit event. An example use case would be a user places a feature in an unexpected location and we want to present an "Are you sure?" message. Is this possible? If so, any pointers would be appreciated. Thx, Ed
... View more
04-15-2026
08:05 AM
|
0
|
0
|
310
|
|
POST
|
Hi - The code below attempts to create an association between two utility network features within a HandleEditCompletedEvent. As it is, it consistently throws an error when attempting to add the association, line: _un.AddAssociation(assoc) The error message states that "This task must be performed within an Edit Operation" - but the AddAssociation *is* performed within an edit operation. Now, it may be that what I'm trying to do -- perform an edit to create an association within an edit event fired on creation of a feature that would be part of that association -- is just not supported. But that's not what the error says. Anyway, any guidance on this would be much appreciated. Thx, Ed ------------------------------------------------------------------------ private async void HandleEditCompletedEvent(EditCompletedEventArgs args) { if (args.CompletedType == EditCompletedType.Operation && args.Creates != null) { string message = string.Empty; foreach (var kvp in args.Creates.ToDictionary()) { var oids = string.Join(",", kvp.Value.Select(n => n.ToString()).ToArray()); if (kvp.Key.Name == "Underground Open Point") { #region attempt to create association - must run in edit operation await QueuedTask.Run(() => { EditOperation editOperation = new EditOperation() { Name = "Create Association" }; { QueryFilter qf = new QueryFilter(); qf.WhereClause = string.Format("OBJECTID in ({0})", oids); MapMember mm = kvp.Key as MapMember; FeatureLayer fl = mm as FeatureLayer; FeatureClass fc = fl.GetTable() as FeatureClass; FeatureClassDefinition fcDef = fc.GetDefinition(); using (RowCursor cur = fc.Search(qf)) { if (cur.MoveNext()) { Row row = cur.Current; // Search for an underground transformer MapPoint mp = row[fcDef.GetShapeField()] as MapPoint; SpatialQueryFilter sqf = new SpatialQueryFilter(); sqf.FilterGeometry = GeometryEngine.Instance.Buffer(mp, 20.0); sqf.WhereClause = string.Format("ASSETGROUP = {0}", 220); sqf.SpatialRelationship = SpatialRelationship.Intersects; using (RowCursor deviceCur = fc.Search(sqf, false)) { if (deviceCur.MoveNext()) { using (Row deviceRow = deviceCur.Current) { Element elbowElement = _un.CreateElement(row); Element xfrElement = _un.CreateElement(deviceRow); Association assoc = new Association(AssociationType.Containment, elbowElement, xfrElement); // ERROR HERE WITH MESSAGE THAT THIS MUST BE DONE WITHIN // AN EDIT OPERATION _un.AddAssociation(assoc); } } } } } } try { var editResult = editOperation.ExecuteAsync(); if (editResult.IsCompletedSuccessfully == false) message = editOperation.ErrorMessage; //success = true; } catch (Exception geoex) { message = geoex.Message; } // TODO }); #endregion } } } bool testHere = true; }
... View more
04-14-2026
08:10 AM
|
0
|
2
|
576
|
|
POST
|
Hi @jennsmith_ElectricUN Thanks for the feedback. We're talking with SE now and see that what we're looking for is not yet present. I'm just wondering what folks who have already gone through a UN implementation have done about this. I didn't think we were actually "early adopters", but maybe we are.
... View more
04-13-2026
10:01 AM
|
0
|
0
|
940
|
|
POST
|
@gis_KIWI4 Thanks much for the feedback. I'm particularly interested in the "complex" case where, on an edit event, we walk the network to discover what is upstream or downstream and perform some operation with the results. There are important aspects of our implementation that rely on this logic, and it generally works pretty well within the GN. We've attempted some preliminary steps than handle ArcGIS Pro edit events, which kind-of work, but sometimes get tripped up when encountering dirty areas. My current thought is that we keep going down this path...but am interested to hear from others if there is a better way. Ed
... View more
04-13-2026
07:33 AM
|
0
|
0
|
955
|
|
POST
|
In our current 10.x world we make significant use of ArcFM AutoUpdaters to perform important business logic (like many utilities). We're implementing the UN and now considering how to replace that logic. (Quite a bit is not accounted for out of the box.) On the one hand it seems that ArcFM XI supports handling of edit events on feature services through their Server Object Extension -- though I don't at the moment know how extensible this is. One the other hand ArcGIS Pro exposes Edit Events, not unlike the way ArcMap does, which we could handle to provide similar capabilities to what we have now. I'm *very* curious to hear thoughts from others who have already gone down this path. Thanks in advance for any feedback. Ed
... View more
04-12-2026
06:50 PM
|
0
|
5
|
1048
|
|
POST
|
Thank you very much.. we will have to dig into eventing and see if it will help us. Your feedback has been really helpful.
... View more
02-23-2026
04:07 PM
|
0
|
0
|
386
|
|
POST
|
Hi @DamienPyne - It seems like enabling "eventing" might enable the responsiveness to device status changes we now see with ArcFM Feeder Manager (in 10.x) . But it also seems there are pros and cons to this. Have you purposefully avoided enabling "eventing"? Thx, Ed
... View more
02-23-2026
01:21 PM
|
0
|
0
|
1339
|
|
POST
|
Well... that's what we would want. Mike Miller stated that what we see is expected behavior *in a version with eventing off*. Is it possible that you are performing the update subnetwork in SDE.Default? Or that you have eventing enabled? Thanks for the reply!
... View more
02-23-2026
12:34 PM
|
0
|
2
|
1345
|
|
POST
|
Mike - Thanks for the explanation. As you mentioned, in our experience (so far) the subnetwork trace returns expected results. Unfortunately this is also, at least initially, another source of confusion. I've got a trace telling me one thing and subnetwork name values telling me another. Ed
... View more
02-23-2026
12:28 PM
|
0
|
0
|
393
|
|
POST
|
This is "as expected"? Really?? Pretty confusing. I'll try the IsConnected. Thanks much Damien for the reply. Ed
... View more
02-22-2026
03:56 AM
|
0
|
2
|
1371
|
|
POST
|
Hi Lynn - I *am* running Update Subnetwork in a version. I'll give the post and update in Default a try. Thanks for the suggestion! E
... View more
02-18-2026
03:47 PM
|
0
|
0
|
1416
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 05-14-2026 07:31 AM | |
| 1 | 05-11-2026 02:55 PM | |
| 1 | 01-07-2026 12:34 PM | |
| 1 | 01-04-2026 05:14 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|