<?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 Passing a value during the second connection in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/passing-a-value-during-the-second-connection/m-p/1300297#M52902</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm having trouble with a rule in Arcade.&lt;/P&gt;&lt;P&gt;I want the cable number to be written in the "Incoming Cable" field when connecting a cable to a network distributor. This has been achieved with the following function:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if($feature.HAUPTKABEL_BEZEICHNUNG != 'HK') { return }

var nvt = FeaturesetByName($datastore, "TelekommunikationDevice")
var i_nvt = First(Intersects(nvt, $feature))

if(i_nvt == null) { return }
return {
    edit: [{
        className: "TelekommunikationDevice",
        updates: [{
            globalID: i_nvt.GlobalID,
            attributes: {HAUPTKABEL_ANKOMMEND: $feature.HAUPTKABEL_NUMMER}
        }]
    }]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I also want the second cable number to be transferred to the network distributor when connecting a second cable, specifically in the "Outgoing Cable" field. Unfortunately, I'm stuck at this point.&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 16:57:16 GMT</pubDate>
    <dc:creator>MaikHeinze</dc:creator>
    <dc:date>2023-06-16T16:57:16Z</dc:date>
    <item>
      <title>Passing a value during the second connection</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/passing-a-value-during-the-second-connection/m-p/1300297#M52902</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm having trouble with a rule in Arcade.&lt;/P&gt;&lt;P&gt;I want the cable number to be written in the "Incoming Cable" field when connecting a cable to a network distributor. This has been achieved with the following function:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if($feature.HAUPTKABEL_BEZEICHNUNG != 'HK') { return }

var nvt = FeaturesetByName($datastore, "TelekommunikationDevice")
var i_nvt = First(Intersects(nvt, $feature))

if(i_nvt == null) { return }
return {
    edit: [{
        className: "TelekommunikationDevice",
        updates: [{
            globalID: i_nvt.GlobalID,
            attributes: {HAUPTKABEL_ANKOMMEND: $feature.HAUPTKABEL_NUMMER}
        }]
    }]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, I also want the second cable number to be transferred to the network distributor when connecting a second cable, specifically in the "Outgoing Cable" field. Unfortunately, I'm stuck at this point.&lt;/P&gt;&lt;P&gt;Can someone help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 16:57:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/passing-a-value-during-the-second-connection/m-p/1300297#M52902</guid>
      <dc:creator>MaikHeinze</dc:creator>
      <dc:date>2023-06-16T16:57:16Z</dc:date>
    </item>
  </channel>
</rss>

