<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cross Feature Editing with Attribute Rules in UN in ArcGIS Utility Network Questions</title>
    <link>https://community.esri.com/t5/arcgis-utility-network-questions/cross-feature-editing-with-attribute-rules-in-un/m-p/1668347#M6036</link>
    <description>&lt;P&gt;Actually I just discovered the problem. I needed to change the references from&amp;nbsp;&lt;STRONG&gt;StructureJunctionsCopy&amp;nbsp;&lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;StructureJunction&lt;/STRONG&gt; in the script. Now it works!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Nov 2025 23:59:34 GMT</pubDate>
    <dc:creator>LeviCecil</dc:creator>
    <dc:date>2025-11-24T23:59:34Z</dc:date>
    <item>
      <title>Cross Feature Editing with Attribute Rules in UN</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/cross-feature-editing-with-attribute-rules-in-un/m-p/1668314#M6035</link>
      <description>&lt;P&gt;I have two related standalone tables for Utility Network (v7) power pole and underground asset inspection forms in Field Maps. What I'm trying to accomplish is change the symbology and labelling for a pole (in StructureJunction data) when an inspection form is submitted on the related table for that asset ID. With my Arcade expression, the rule works like a charm in Pro on a local copy of the UN data and tables. After publishing to the Portal (11.3), the attribute rule doesn't work. AI is telling me that cross-feature editing might not be possible in Field Maps. Anyone doing anything similar? I've had crews on multiple different projects ask for this sort of symbology change in the map so they know what they've inspected, what needs servicing, etc. It seems like this should be possible?? Here is my Arcade script&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Assign to inspectdate field
var inspectionAssetID = $feature.assetid;
var inspectDate = $feature.inspectdate;

if (IsEmpty(inspectDate)) {
    inspectDate = Now();
}

if (IsEmpty(inspectionAssetID)) {
    return inspectDate;
}

var structureFS = FeatureSetByName($datastore, "StructureJunctionsCopy", ["assetid", "globalid"]);
var matchingStructure = First(Filter(structureFS, "assetid = @inspectionAssetID"));

if (matchingStructure == null) {
    return inspectDate;
}

var hasNeedsCorrection = false;
var hasCorrected = false;

var fields = [
    $feature.polemissing, $feature.poleonmap, $feature.poleground, 
    $feature.groundrod, $feature.riserground, $feature.spacing, 
    $feature.ugriser, $feature.guysanchors, $feature.guyguards, 
    $feature.treesecondary, $feature.treeprimary, $feature.climbspace, 
    $feature.polecondition, $feature.armcondition, $feature.infrared, 
    $feature.switchcondition, $feature.drilltest, $feature.other, 
    $feature.powercommpole, $feature.powercommmid, $feature.powercommpoa, 
    $feature.powerroof, $feature.powerroad, $feature.powerdriveway, 
    $feature.powernearwind
];

for (var i in fields) {
    var val = fields[i];
    if (!IsEmpty(val)) {
        // Convert to number to handle any type issues
        var numVal = Number(val);
        if (numVal == 1) {
            hasNeedsCorrection = true;
        }
        else if (numVal == 2) {
            hasCorrected = true;
        }
    }
}

var surveyedStatus;
if (hasNeedsCorrection) {
    surveyedStatus = 2;
}
else if (hasCorrected) {
    surveyedStatus = 3;
}
else {
    surveyedStatus = 1;
}

return {
    'result': inspectDate,
    'edit': [{
        'className': 'StructureJunctionsCopy',
        'updates': [{
            'globalid': matchingStructure.globalid,
            'attributes': {
                'surveyed': surveyedStatus,
                'inspectiondate': inspectDate
            }
        }]
    }]
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 21:25:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/cross-feature-editing-with-attribute-rules-in-un/m-p/1668314#M6035</guid>
      <dc:creator>LeviCecil</dc:creator>
      <dc:date>2025-11-24T21:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Feature Editing with Attribute Rules in UN</title>
      <link>https://community.esri.com/t5/arcgis-utility-network-questions/cross-feature-editing-with-attribute-rules-in-un/m-p/1668347#M6036</link>
      <description>&lt;P&gt;Actually I just discovered the problem. I needed to change the references from&amp;nbsp;&lt;STRONG&gt;StructureJunctionsCopy&amp;nbsp;&lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;StructureJunction&lt;/STRONG&gt; in the script. Now it works!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 23:59:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-utility-network-questions/cross-feature-editing-with-attribute-rules-in-un/m-p/1668347#M6036</guid>
      <dc:creator>LeviCecil</dc:creator>
      <dc:date>2025-11-24T23:59:34Z</dc:date>
    </item>
  </channel>
</rss>

