<?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: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade? in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175211#M3500</link>
    <description>&lt;P&gt;Are you using offline areas by any chance?&lt;/P&gt;&lt;P&gt;If you go to Profile-&amp;gt;Troubleshooting-&amp;gt;Logs do you see any messages with "Arcade" in them? The error is probably logged there.&lt;/P&gt;</description>
    <pubDate>Wed, 18 May 2022 17:38:00 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2022-05-18T17:38:00Z</dc:date>
    <item>
      <title>Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175110#M3483</link>
      <description>&lt;P&gt;When clicking the blue add button to add a related record/inspection, it brings the globalid/guid value forward into the related table, but what if I want the feature class park name value to populated the related table as well in the park_name field?&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 15:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175110#M3483</guid>
      <dc:creator>ArmstKP</dc:creator>
      <dc:date>2022-05-18T15:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175127#M3486</link>
      <description>&lt;P&gt;Arcade should do it.&amp;nbsp; I've set up this kind of thing in Pro using GDB attribute rules but the same approach should work with a calculated expression in Field Maps.&amp;nbsp; Use the foreign key GUID to find the parent record with a feature set, get the first record of the feature set and pull the field you want off that feature.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 15:56:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175127#M3486</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2022-05-18T15:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175143#M3489</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/115587"&gt;@MobiusSnake&lt;/a&gt;&amp;nbsp; Could you give me a small example to go off of?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 16:23:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175143#M3489</guid>
      <dc:creator>ArmstKP</dc:creator>
      <dc:date>2022-05-18T16:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175189#M3494</link>
      <description>&lt;P&gt;Check out the second example in &lt;A href="https://www.esri.com/arcgis-blog/products/field-maps/field-mobility/common-calculated-expressions-for-arcgis-field-maps/" target="_self"&gt;this blog post&lt;/A&gt;. It should be exactly what your looking for, just change the layer name and attribute name.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 17:05:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175189#M3494</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-05-18T17:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175206#M3499</link>
      <description>&lt;P&gt;@Anonymous User&amp;nbsp; I used that code and it worked when I clicked the "Test" Button.&amp;nbsp; I saved it and then opened up Field Maps 22.2 and I get in red text, "Failed to calculate"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ArmstKP_0-1652894655773.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41626iF6FEF5A89D5DA279/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ArmstKP_0-1652894655773.png" alt="ArmstKP_0-1652894655773.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 17:24:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175206#M3499</guid>
      <dc:creator>ArmstKP</dc:creator>
      <dc:date>2022-05-18T17:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175211#M3500</link>
      <description>&lt;P&gt;Are you using offline areas by any chance?&lt;/P&gt;&lt;P&gt;If you go to Profile-&amp;gt;Troubleshooting-&amp;gt;Logs do you see any messages with "Arcade" in them? The error is probably logged there.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 17:38:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175211#M3500</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-05-18T17:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175223#M3501</link>
      <description>&lt;P&gt;We aren't using offline areas.&lt;/P&gt;&lt;P&gt;This looks to be the related error in the log:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ArmstKP_0-1652896910361.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41631i8C49ED547E3536CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ArmstKP_0-1652896910361.png" alt="ArmstKP_0-1652896910361.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 18:02:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175223#M3501</guid>
      <dc:creator>ArmstKP</dc:creator>
      <dc:date>2022-05-18T18:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175235#M3502</link>
      <description>&lt;P&gt;In the expression did you change the relationship name? In my example it's "wHydrants", yours is probably different.&lt;/P&gt;&lt;P&gt;If you open the table JSON, you can find the relationship name.&lt;/P&gt;&lt;P&gt;Go to the child layer/table page and click view in the bottom right:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AaronPulver_0-1652897239288.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41635i2B0B51FFE333BFC5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AaronPulver_0-1652897239288.png" alt="AaronPulver_0-1652897239288.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then in the upper left corner click json:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AaronPulver_2-1652897380502.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41637iE93A7DDDCB634C46/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AaronPulver_2-1652897380502.png" alt="AaronPulver_2-1652897380502.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then look for the relationships property and the name property within that, copy that and use it in your expression.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AaronPulver_3-1652897429866.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41638i1530959F3BF29BB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AaronPulver_3-1652897429866.png" alt="AaronPulver_3-1652897429866.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 18:10:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175235#M3502</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-05-18T18:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175292#M3504</link>
      <description>&lt;P&gt;I did change the relationship name to my own.&amp;nbsp; I have come up with another solution (below) without dealing with FeatureSetByRelationshipName.&amp;nbsp; I see a lot of people are having the same issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var relate_guid = $feature["relfeatureglobalid"];&lt;BR /&gt;var featSet = FeatureSetByName($map,"Parks Mowing", ['Park_ID','globalid'], false);&lt;BR /&gt;for(var feat in featSet){&lt;BR /&gt;if(Lower(feat.globalid)==Lower(relate_guid)){&lt;BR /&gt;return feat.Park_ID;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Seems like I am having the same issue as this post:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-field-maps-questions/featuresetby-arcade-functions-supported-in-field/td-p/1130571" target="_self"&gt;https://community.esri.com/t5/arcgis-field-maps-questions/featuresetby-arcade-functions-supported-in-field/td-p/1130571&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 19:42:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175292#M3504</guid>
      <dc:creator>ArmstKP</dc:creator>
      <dc:date>2022-05-18T19:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175354#M3505</link>
      <description>&lt;P&gt;Yes I have seen this as an issue before I use map and then the layer name, like you are, and it seems to work better.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 21:50:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175354#M3505</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-05-18T21:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175659#M3525</link>
      <description>&lt;P&gt;I wonder if you cannot use by relationship name because the New Map viewer has no relationship class support?&amp;nbsp; Also wonder how poster is using this when the map has no relationships.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 18:09:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175659#M3525</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-05-19T18:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175678#M3530</link>
      <description>&lt;P&gt;Field Maps uses the relationships defined in the feature service. As long as the parent and child layers are in the map and there is an actual relationship between them, this should just work. There are some existing issues with the Arcade implementation where this doesn't work with offline areas or where the casing of field values matters.&lt;/P&gt;&lt;P&gt;If someone has a sample map where the FeatureSetByRelationshipName isn't working, can you please DM me about it? I'm happy to look into and log an issue if necessary.&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 18:45:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1175678#M3530</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-05-19T18:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1179149#M3712</link>
      <description>&lt;P&gt;Just as a follow-up, we've identified two issues related to FeatureSetByRelationshipName.&lt;/P&gt;&lt;P&gt;1. If your relationship contains a "." in it, then the Android and iOS apps fail to successfully execute the expression. This also occurs in Pop-ups. This is under investigation but probably won't make the next release.&lt;/P&gt;&lt;P&gt;2. In the Arcade editor, if the related layer/table does not have any features it, when you attempt to test it or save an expression that used FeatureSetByRelationshipName the editor fails to execute the expression with "&lt;SPAN class=""&gt;Execution Error:&lt;/SPAN&gt;&lt;SPAN&gt;Cannot read properties of undefined (reading 'toString')&lt;/SPAN&gt;". The reason it fails is due to how the Arcade Editor evaluates the expression when the foreign key field value is null. When Field Maps or Map Viewer launch the Arcade editor, they need to provide a sample feature to represent $feature. It will query to find the first feature in the layer/table and use that. If there are no features, it generates a sample feature using the default values of the field. In this specific case, if your related table has no features in it, this sample feature will likely have a null value for it's foreign key field. A simple workaround is in the Arcade Editor edit $feature using the &amp;gt; icon and then the pencil/edit icon and add any value to the foreign key field (it doesn't matter what). Then you should be able to test and save it. This is not planned to be fixed in the next release.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 18:45:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1179149#M3712</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-06-01T18:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1180908#M3782</link>
      <description>&lt;P&gt;Thank you Aaron, I simply replaced the FeatureSetByRelationshipName (because it did contain "." to FeatureSetByName&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 04:32:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1180908#M3782</guid>
      <dc:creator>CodraFrum1</dc:creator>
      <dc:date>2022-06-08T04:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1323024#M6869</link>
      <description>&lt;P&gt;Is there an update on a fix for the first problem? Since we use referenced geodatabase classes, I think it's basically always going to have a "." in it right? It would be great to see this issue addressed!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 15:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1323024#M6869</guid>
      <dc:creator>ZachBodenner</dc:creator>
      <dc:date>2023-08-28T15:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1568218#M10137</link>
      <description>&lt;P&gt;Does anyone have a workaround for this if there is a "." in the relationship class name?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 22:39:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1568218#M10137</guid>
      <dc:creator>chill_gis_dude</dc:creator>
      <dc:date>2024-12-12T22:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1568248#M10138</link>
      <description>&lt;P&gt;I thought it was fixed?&amp;nbsp; If not just use FeatureSetByName and then wrap that in Filter().&amp;nbsp; Works about the same.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 23:18:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1568248#M10138</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-12-12T23:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1568256#M10139</link>
      <description>&lt;P&gt;We are in 11.2 Enterprise, so maybe the fix is in a later release?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the suggestion! You don't have an example I can look at, do you?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 23:47:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1568256#M10139</guid>
      <dc:creator>chill_gis_dude</dc:creator>
      <dc:date>2024-12-12T23:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add Inspection/Related Record:  Bring Value from Feature Class to Related Table?  Arcade?</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1568848#M10147</link>
      <description>&lt;P&gt;Just make a query&amp;nbsp;&lt;/P&gt;&lt;P&gt;var sql = "PointID = '" + $feature.PointID + "'";&lt;BR /&gt;var tbl = Filter(FeatureSetByName($map,"Points", ['DesignLat'], false), sql);&lt;BR /&gt;return First(tbl).DesignLat&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 14:30:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/add-inspection-related-record-bring-value-from/m-p/1568848#M10147</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2024-12-16T14:30:47Z</dc:date>
    </item>
  </channel>
</rss>

