<?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 Select &amp; display most recent record  in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864652#M26678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature layer data set that captures records from a Survey. There are hundreds of fire station locations that are static. There are many records for a single station location (ex: each fire station submits an update every day or so-- the updates may not be regular. One station may report daily, another may report weekly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to create a web-app or dashboard that uses the data ONLY for the &lt;EM&gt;most recent&lt;/EM&gt; record submitted by each location (bonus if it will automatically re-query &amp;amp; update according to a specified schedule).&amp;nbsp;Using 'filter by today' will not work because an update for a station may have happened a week ago, and I still need to show the information for that record along with a station that updated this morning.&amp;nbsp;I'm looking for help on a solution to show: 'for each individual station, select the most recent record from MAX DATE and use fields from that record for that station in the web-app (or dashboard)'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: from the screen capture, I'd like to display only specific attributes from the 4/2/2020 12:00 AM record in the dashboard/web-app. When that station reports their information again, I'd like the web-app/dashboard to automatically reflect that update...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas for a newbie to this side of things???!!! I've been looking into ARCADE, but not sure exactly how to make it work correctly. TIA&lt;/P&gt;&lt;P&gt;#wildfire&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/63802"&gt;Chris Ferner&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Apr 2020 16:05:26 GMT</pubDate>
    <dc:creator>CaseyTeske2</dc:creator>
    <dc:date>2020-04-06T16:05:26Z</dc:date>
    <item>
      <title>Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864652#M26678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a feature layer data set that captures records from a Survey. There are hundreds of fire station locations that are static. There are many records for a single station location (ex: each fire station submits an update every day or so-- the updates may not be regular. One station may report daily, another may report weekly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are trying to create a web-app or dashboard that uses the data ONLY for the &lt;EM&gt;most recent&lt;/EM&gt; record submitted by each location (bonus if it will automatically re-query &amp;amp; update according to a specified schedule).&amp;nbsp;Using 'filter by today' will not work because an update for a station may have happened a week ago, and I still need to show the information for that record along with a station that updated this morning.&amp;nbsp;I'm looking for help on a solution to show: 'for each individual station, select the most recent record from MAX DATE and use fields from that record for that station in the web-app (or dashboard)'....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: from the screen capture, I'd like to display only specific attributes from the 4/2/2020 12:00 AM record in the dashboard/web-app. When that station reports their information again, I'd like the web-app/dashboard to automatically reflect that update...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Ideas for a newbie to this side of things???!!! I've been looking into ARCADE, but not sure exactly how to make it work correctly. TIA&lt;/P&gt;&lt;P&gt;#wildfire&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/63802"&gt;Chris Ferner&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2020 16:05:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864652#M26678</guid>
      <dc:creator>CaseyTeske2</dc:creator>
      <dc:date>2020-04-06T16:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864653#M26679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/390353"&gt;Casey Teske&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm afraid that Arcade will not allow you to select and show only the last (most recent record) in ArcGIS Dashboard. You can create a pop-up that shows the most recent related record and there have been some related discussion&amp;nbsp;recently:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/thread/243270"&gt;How to get attribute with last date modified from related table using Arcade&lt;/A&gt;&amp;nbsp;and&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/thread/247206"&gt;Can I add a conditional statement in Arcade to display one of two FeatureSet script values?&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is beta for ArcGIS Dashboard coming soon that will have extended support for configuration using Arcade expressions. Maybe what you are looking for will be in the next beta release of ArcGIS Dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some other ideas that come to mind:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If you have your data in an Enterprise geodatabase, you could configure an attribute rule that is triggered on each insert&lt;/LI&gt;&lt;LI&gt;You could&amp;nbsp;use a Notebook&amp;nbsp;in ArcGIS Online and schedule it to extract the data you need and create a new hosted feature layer with only the latest record. This option does not have a trigger on the&amp;nbsp;insert of a feature or record&amp;nbsp;that will result in the update of the information you want to show in Dashboard. You will have to set the frequency to match your needs as closely as possible.&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 15:55:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864653#M26679</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-04-08T15:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864654#M26680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;... It's what I suspected. I'll keep playing in search of a work-around -- I can't be the only one with an issue like this &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 16:04:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864654#M26680</guid>
      <dc:creator>CaseyTeske2</dc:creator>
      <dc:date>2020-04-08T16:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864655#M26681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You aren't, I am in the exact same boat.&amp;nbsp; I have a Survey123 for long term care facilities and covid-19 related infections are updated daily or semi-daily.&amp;nbsp; I would like to display only the most recent report for each facility and cannot accomplish this by just filtering within a certain time period as the frequency of these reports is not consistent.&amp;nbsp; I've been searching through threads and have yet to find a good way to accomplish this goal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 20:19:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864655#M26681</guid>
      <dc:creator>AndrewSouthern</dc:creator>
      <dc:date>2020-04-17T20:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864656#M26682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew did you ever get a solution? I am still banging my head on this one...&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2020 22:28:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864656#M26682</guid>
      <dc:creator>CaseyTeske2</dc:creator>
      <dc:date>2020-05-21T22:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864657#M26683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any luck?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 21:17:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864657#M26683</guid>
      <dc:creator>JustinConnerWR</dc:creator>
      <dc:date>2020-07-16T21:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864658#M26684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/92162"&gt;Justin Conner&lt;/A&gt;&amp;nbsp;... No, no luck-- we did a complicated "dummy" workaround with some filters on our feature layer, but .... it is not ideal! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;If you have solved it, I'm all ears &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 21:51:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864658#M26684</guid>
      <dc:creator>CaseyTeske2</dc:creator>
      <dc:date>2020-07-16T21:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864659#M26685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll just add to the record that you are not the only one looking for this functionality. I'm trying to do the same thing as you except for with park inspections.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 18:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/864659#M26685</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-08-18T18:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/1002231#M31137</link>
      <description>&lt;P&gt;Hi Andrew&lt;/P&gt;&lt;P&gt;If you use Survey123, you can do this, creating the fields that you want to know last values in the main layer, and calculating this fields with the original fields you want to copy last value. Example:&lt;/P&gt;&lt;P&gt;survey (sheet name)&lt;/P&gt;&lt;P&gt;type&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; label&lt;/P&gt;&lt;P&gt;begin group&lt;/P&gt;&lt;P&gt;text&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;name&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Name&lt;/P&gt;&lt;P&gt;end group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;begin group&lt;/P&gt;&lt;P&gt;begin repeat&lt;/P&gt;&lt;P&gt;decimal&amp;nbsp; &amp;nbsp; &amp;nbsp; temp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Temperature&lt;/P&gt;&lt;P&gt;end repeat&lt;/P&gt;&lt;P&gt;end group&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;begin group&lt;/P&gt;&lt;P&gt;note&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lasttemp&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Last temperature&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;${temp}&amp;nbsp; &amp;nbsp;(in calculation column)&lt;/P&gt;&lt;P&gt;end group&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 18:30:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/1002231#M31137</guid>
      <dc:creator>CarlosSigal</dc:creator>
      <dc:date>2020-11-17T18:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/1024662#M32349</link>
      <description>&lt;P&gt;Same issue here. Been trying to figure out a workaround as well. I'm also dealing with data in a related table.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 22:18:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/1024662#M32349</guid>
      <dc:creator>ChrisSpagnoli</dc:creator>
      <dc:date>2021-02-08T22:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/1029622#M32676</link>
      <description>&lt;P&gt;There are a couple of comments at the following thread that may be helpful to you. They were talking about using related tables and how to set them up for updated records.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/mapping-with-survey123-within-a-polygon-or-admin-unit/td-p/836112" target="_blank"&gt;https://community.esri.com/t5/arcgis-survey123-questions/mapping-with-survey123-within-a-polygon-or-admin-unit/td-p/836112&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Feb 2021 16:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/1029622#M32676</guid>
      <dc:creator>TechServices</dc:creator>
      <dc:date>2021-02-23T16:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Select &amp; display most recent record</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/1040378#M33394</link>
      <description>&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;I think I have figured out a workaround for this issue! Hopefully this method can help you out too.&lt;/P&gt;&lt;P&gt;My Method:&lt;/P&gt;&lt;P&gt;1a) Created a view in SDE for my related table, where the SQL expression specifies only the most recent related record should be returned if there are matching global ID's in the related table (ie. if there are more than one related records for a single feature). My expression input into "Create Database View" tool:&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;SELECT OBJECTID, GlobalID_rel, PaintType, created_date, DatePainted&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;FROM database.user.CrosswalksAndStopBars_RelatedTable AS t&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;WHERE created_date =&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;(SELECT MAX(created_date)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;FROM database.user.CrosswalksAndStopBars_RelatedTable&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;WHERE GlobalID_rel = t.GlobalID_rel)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1b) The "SELECT MAX" portion of the code is what returns only the newest related record in the view.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2a) I then used SQL Server Management Studio to help me build another view expression to join the SDE feature class with the newly created related table view. I copied the expression generated from SQL server into the&amp;nbsp;"Create Database View" tool:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;SELECT&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USER.CROSSWALKSANDSTOPBARS.GlobalID, USER.CROSSWALKSANDSTOPBARS.OBJECTID, USER.CROSSWALKSANDSTOPBARS.CrosswalkType, USER.CROSSWALKSANDSTOPBARS.Notes,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USER.CROSSWALKSANDSTOPBARS.SHAPE, USER.CROSSWALKSANDSTOPBARS.GDB_GEOMATTR_DATA, USER.CrosswalksAndStopBars_RelatedTable_View.OBJECTID AS ObjectID_Rel,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USER.CrosswalksAndStopBars_RelatedTable_View.GlobalID_rel, USER.CrosswalksAndStopBars_RelatedTable_View.PaintType, USER.CrosswalksAndStopBars_RelatedTable_View.created_date,&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USER.CrosswalksAndStopBars_RelatedTable_View.DatePainted&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;FROM&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USER.CROSSWALKSANDSTOPBARS LEFT OUTER JOIN&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USER.CrosswalksAndStopBars_RelatedTable_View ON USER.CROSSWALKSANDSTOPBARS.GlobalID = USER.CrosswalksAndStopBars_RelatedTable_View.GlobalID_rel&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2b) The output view joins the feature with the newest related record for that feature, using the global ID in the feature class and the related global ID field in the related table view.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;3) I created a map service with Mapping capability that shares the view created in step 2. I was then able to input the REST endpoint of this service into my AGOL web maps for my applications, displaying only the newest related record for each feature.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Note: A LEFT OUTER JOIN was used in step 2a so that my view I was sharing with AGOL would show both features that had no related records yet created and features that had 1 or more related records (displaying only the newest related record of course).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hope this helps!&lt;/DIV&gt;&lt;DIV&gt;Brett&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 20:42:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/m-p/1040378#M33394</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-03-24T20:42:04Z</dc:date>
    </item>
  </channel>
</rss>

