<?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: Feature Info Widget - Related Inspection Table Sorting by Most Recent Date.  Not Possible? in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1366872#M10134</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/563014"&gt;@ArmstKP&lt;/a&gt;&amp;nbsp; I configured the layers pop-up in the web map, the same web map that I added to EB. That's where the script lives, in the pop-up configuration option on the layer.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2024 16:47:26 GMT</pubDate>
    <dc:creator>JessicaRamirez1</dc:creator>
    <dc:date>2024-01-05T16:47:26Z</dc:date>
    <item>
      <title>Feature Info Widget - Related Inspection Table Sorting by Most Recent Date.  Not Possible?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1216703#M5407</link>
      <description>&lt;P&gt;I created a feature info widget that is my related table.&amp;nbsp; The feature's related table is sorted by the date descending in the web map, but that setting seems to be not honored when it is brought into ExB when I click on a feature.&amp;nbsp; The oldest record shows up first with an arrow to scroll to the newer record, which can be fairly annoying if there are a lot of inspections on a feature and you want to see the latest inspection first, while also wanting to see the rest....&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 14:56:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1216703#M5407</guid>
      <dc:creator>ArmstKP</dc:creator>
      <dc:date>2022-09-28T14:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Info Widget - Related Inspection Table Sorting by Most Recent Date.  Not Possible?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1220456#M5474</link>
      <description>&lt;P&gt;I used an arcade expression to solve this issue. In this script, I'm only returning the latest result so you'll have to edit that.&amp;nbsp; I hope this helps&lt;/P&gt;&lt;P&gt;var relatedrecords = OrderBy(FeatureSetByRelationshipName($feature,"myFeatureLayer"), 'Effective_Date DESC');&lt;BR /&gt;var cnt = Count(relatedrecords);&lt;/P&gt;&lt;P&gt;var relatedinfo = "";&lt;BR /&gt;if (cnt &amp;gt; 0) {&lt;BR /&gt;var info = First(relatedrecords);&lt;BR /&gt;relatedinfo = Text(ToLocal(info.Effective_Date), "MM/DD/Y");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;return relatedinfo;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 18:04:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1220456#M5474</guid>
      <dc:creator>JessicaRamirez1</dc:creator>
      <dc:date>2022-10-10T18:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Info Widget - Related Inspection Table Sorting by Most Recent Date.  Not Possible?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1243130#M5937</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/563014"&gt;@ArmstKP&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for sharing your problem.&lt;BR /&gt;The sorting you saved in the map is not honored into FeatureInfo, it only honors the popup setting. So one workaround is like&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/238582"&gt;@JessicaRamirez1&lt;/a&gt;&amp;nbsp;suggested using an arcade expression. Or inside ExB, at the datasource, you can create a data view of this related table to sort on select field and then use it in FeatureInfo.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 22:43:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1243130#M5937</guid>
      <dc:creator>Wei_Ying</dc:creator>
      <dc:date>2022-12-21T22:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Info Widget - Related Inspection Table Sorting by Most Recent Date.  Not Possible?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1366419#M10100</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/238582"&gt;@JessicaRamirez1&lt;/a&gt;&amp;nbsp;I have used scripts like this before, but where did you add the script/expression in ExB?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 18:42:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1366419#M10100</guid>
      <dc:creator>ArmstKP</dc:creator>
      <dc:date>2024-01-04T18:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Info Widget - Related Inspection Table Sorting by Most Recent Date.  Not Possible?</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1366872#M10134</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/563014"&gt;@ArmstKP&lt;/a&gt;&amp;nbsp; I configured the layers pop-up in the web map, the same web map that I added to EB. That's where the script lives, in the pop-up configuration option on the layer.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 16:47:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/feature-info-widget-related-inspection-table/m-p/1366872#M10134</guid>
      <dc:creator>JessicaRamirez1</dc:creator>
      <dc:date>2024-01-05T16:47:26Z</dc:date>
    </item>
  </channel>
</rss>

