<?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 Pull object Id from selected related polygon in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/pull-object-id-from-selected-related-polygon/m-p/1344736#M7295</link>
    <description>&lt;P&gt;In Field Maps I'm trying to use the OBJECTID field of a selected polygon for a unique ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The final code would look like this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"PulledOBJECTID"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"_"&lt;/SPAN&gt;&lt;SPAN&gt;, myDate&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This would populate within a field in the table that is related to the parent polygon.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, I cannot&amp;nbsp;figure out the best way to pull the OBJECTID from the selected polygon to use in this code. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've been using the FeatureSetByRelationshipName but I keep coming across errors so I was just wondering if anyone else has had to do this and has some advice?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Your help is much appreciated!&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 01 Nov 2023 22:53:45 GMT</pubDate>
    <dc:creator>Baisuzhen</dc:creator>
    <dc:date>2023-11-01T22:53:45Z</dc:date>
    <item>
      <title>Pull object Id from selected related polygon</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/pull-object-id-from-selected-related-polygon/m-p/1344736#M7295</link>
      <description>&lt;P&gt;In Field Maps I'm trying to use the OBJECTID field of a selected polygon for a unique ID.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The final code would look like this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Concatenate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"PulledOBJECTID"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"_"&lt;/SPAN&gt;&lt;SPAN&gt;, myDate&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This would populate within a field in the table that is related to the parent polygon.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;However, I cannot&amp;nbsp;figure out the best way to pull the OBJECTID from the selected polygon to use in this code. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've been using the FeatureSetByRelationshipName but I keep coming across errors so I was just wondering if anyone else has had to do this and has some advice?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Your help is much appreciated!&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 01 Nov 2023 22:53:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/pull-object-id-from-selected-related-polygon/m-p/1344736#M7295</guid>
      <dc:creator>Baisuzhen</dc:creator>
      <dc:date>2023-11-01T22:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pull object Id from selected related polygon</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/pull-object-id-from-selected-related-polygon/m-p/1346408#M7321</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/682345"&gt;@Baisuzhen&lt;/a&gt;&amp;nbsp;- Are you able to give us more detail on the setup of the layers?&amp;nbsp;&lt;BR /&gt;Are you trying to calculate the attribute in the child record?&lt;BR /&gt;Also is the child record a table?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 21:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/pull-object-id-from-selected-related-polygon/m-p/1346408#M7321</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2023-11-06T21:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Pull object Id from selected related polygon</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/pull-object-id-from-selected-related-polygon/m-p/1346747#M7337</link>
      <description>&lt;P&gt;I would use something else as a key.&amp;nbsp; I like to calculate it based on some attributes.&amp;nbsp; If you ever export records, reload from backup, push to SDE, etc all your objectids will break and it will be impossible to fix.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 16:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/pull-object-id-from-selected-related-polygon/m-p/1346747#M7337</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-11-07T16:30:28Z</dc:date>
    </item>
  </channel>
</rss>

