<?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: Update attribute on intersected feature in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1549371#M9759</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"If I add/edit a point, it is pretty easy to find the nearest/intersecting line and extract a value from the table and update a point field with it. (I.e., copy the "ID" field from the line layer to a "LineID" field in the point layer)."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do yo do this particular function ? Is it on web map apps ?&lt;BR /&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/15530"&gt;@RhettZufelt&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2024 06:38:31 GMT</pubDate>
    <dc:creator>yockee</dc:creator>
    <dc:date>2024-10-17T06:38:31Z</dc:date>
    <item>
      <title>Update attribute on intersected feature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1214420#M4549</link>
      <description>&lt;P&gt;I have a line featureclass and a point featureclass in same map.&lt;/P&gt;&lt;P&gt;If I add/edit a point, it is pretty easy to find the nearest/intersecting line and extract a value from the table and update a point field with it. (I.e., copy the "ID" field from the line layer to a "LineID" field in the point layer).&lt;/P&gt;&lt;P&gt;However, is is possible to go the other way?&amp;nbsp; I would like to copy the value in the point layer field "Status" to the the "PointStatus" field in the intersecting line feature.&lt;/P&gt;&lt;P&gt;Is this possible with calculated expressions in Field Maps?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 22:21:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1214420#M4549</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2022-09-20T22:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Update attribute on intersected feature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1214478#M4552</link>
      <description>&lt;P&gt;It is possible, at least in Attribute Rules, I suspect you can do it in Field Maps, too.&lt;/P&gt;&lt;P&gt;Instead of returning a value, you can return a dictionary that follows a certain schema:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-dictionary-keywords.htm" target="_blank"&gt;Attribute rule dictionary keywords—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var lines = FeaturesetByName($datastore, "LineFeatureclass", ["OBJECTID"], false)
var i_line = First(Intersects($feature, lines))
if(i_line == null) { return null }
return {
    //result: {attributes: {TextField: "value"}},
    edit: [{
        className: "LineFeatureclass",
        updates: [{objectID: i_line.OBJECTID, attributes: {PointStatus: $feature.Status}}]
    }]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 04:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1214478#M4552</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-09-21T04:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update attribute on intersected feature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1215661#M4579</link>
      <description>&lt;P&gt;Thanks Johannes,&lt;/P&gt;&lt;P&gt;Don't believe the calculated expressions work with this as it has to be tied to a particular field, and doesn't seem to honor the edit: dictionary.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was thinking of using attribute rules, but am very confused about what/where/when attribute rules will work in Field Maps.&lt;/P&gt;&lt;P&gt;Lots of post saying it is working just fine, but I can't get even the basic attribute rule (populate a field with a static text value) to work in AGOL and/or Field Maps.&lt;/P&gt;&lt;P&gt;My rule works just fine in Pro 2.9.3, but if I publish to AGOL, doesn't seem to work with anything.&lt;/P&gt;&lt;P&gt;Trying to figure out what version of Pro/SDE/WebMap/FieldMaps/etc. that support attribute rules, but not making much progress.&amp;nbsp; Suspect my rules are not propagating to AGOL hosted features as I am using older version of database to publish the features from.&lt;/P&gt;&lt;P&gt;Hopefully, I can find a listing somewhere of software/versions required to make attribute rules work in AGOL, but haven't narrowed it down yet.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 18:16:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1215661#M4579</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2022-09-23T18:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update attribute on intersected feature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1215736#M4582</link>
      <description>&lt;P&gt;AFAIK, AGOL doesn't support Attribute Rules, yet. You could try publishing to Portal, if you have one.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 20:33:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1215736#M4582</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-09-23T20:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Update attribute on intersected feature</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1549371#M9759</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"If I add/edit a point, it is pretty easy to find the nearest/intersecting line and extract a value from the table and update a point field with it. (I.e., copy the "ID" field from the line layer to a "LineID" field in the point layer)."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How do yo do this particular function ? Is it on web map apps ?&lt;BR /&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/15530"&gt;@RhettZufelt&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294341"&gt;@JohannesLindner&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 06:38:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/update-attribute-on-intersected-feature/m-p/1549371#M9759</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2024-10-17T06:38:31Z</dc:date>
    </item>
  </channel>
</rss>

