<?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: Display related records in a popup in a nice table in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271568#M51078</link>
    <description>&lt;P&gt;Eh, it kind of makes sense as it is a question others may have! You can post on ArcGIS Online, if you back up one link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teresa_Blader_0-1679693036506.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66245i0CBD530EB2AFD53D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Teresa_Blader_0-1679693036506.png" alt="Teresa_Blader_0-1679693036506.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Sorry for trolling your non-question!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 21:24:27 GMT</pubDate>
    <dc:creator>Teresa_Blader</dc:creator>
    <dc:date>2023-03-24T21:24:27Z</dc:date>
    <item>
      <title>Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1270024#M50995</link>
      <description>&lt;P&gt;I have a table of related work history on a point asset layer. For each point representing an asset, there are multiple related records storing the work history. Here is the Arcade expression I used to display in the pop up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note: This only works right now when set up as an Arcade Expression content type, rather than an arcade expression referenced in a Text content type.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// Get the related work orders
var includedFields = ['Type','completion_date','real_price'];

var history = FeatureSetByRelationshipName($feature, 'relationshipName', includedFields);

if (count(history) &amp;gt; 0){

  // Get the schema of the WorkOrders table
  var woSchema = Schema(history);

  // Get the fields from the schema
  var fields = woSchema.fields;

  // Define an array to store the table headers
  var headers = [];

  // Loop through the fields and add a header to the array for each one
  for (var i in fields) {
    var field = fields[i];
    if(Includes(includedFields, field.name)) {
      Push(headers,'&amp;lt;th style="border: 1px solid #ddd;padding: 8px;background-color: #eee;"&amp;gt;' + field.alias + '&amp;lt;/th&amp;gt;');
    }
  }

  // Define the HTML table header row
  var headerRow = '&amp;lt;tr style="border: 1px solid #ddd;padding: 8px;"&amp;gt;' + concatenate(headers) + '&amp;lt;/tr&amp;gt;';

  // Define an array to store the HTML table rows
  var rows = [];

  // Loop through each related work order and add an HTML table row to the array
  for (var i in history) {
    var wo = i;
    
    // Define an array to store the data for the current row
    var rowData = [];
    
    // Loop through the fields and add the value of each field to the rowData array
    for (var j in fields) {
        //Skip Object ID Field
        if(fields[j].alias != 'OBJECTID_1') {
          Push(rowData, '&amp;lt;td style="border: 1px solid #ddd;padding: 8px;"&amp;gt;' + wo[fields[j].name] + '&amp;lt;/td&amp;gt;');
        }
    }
    
    // Concatenate the rowData array into a string with table data tags
    var row = '&amp;lt;tr style="border: 1px solid #ddd;padding: 8px;"&amp;gt;' + concatenate(rowData) + '&amp;lt;/tr&amp;gt;';
    
    // Push the resulting string into the rows array
    push(rows, row);
  }
  
  // Define the HTML table using the header row and the rows array
  var table = '&amp;lt;p&amp;gt;&amp;lt;h3&amp;gt;Work History&amp;lt;/h3&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;div&amp;gt;&amp;lt;table style="font-family: arial, sans-serif;border-collapse: collapse;text-align: left;"&amp;gt;' + headerRow + concatenate(rows) + '&amp;lt;/table&amp;gt;&amp;lt;/div&amp;gt;';
  // Return the HTML table
  return { 
	type : 'text', 
	text : table //this property supports html tags 
  }
//return table;

} else {
  return { 
	type : 'text', 
	text : '&amp;lt;p&amp;gt;&amp;lt;h3&amp;gt;Work History&amp;lt;/h3&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;No related work history&amp;lt;/p&amp;gt;' //this property supports html tags 
  }
}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 21 Mar 2023 19:22:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1270024#M50995</guid>
      <dc:creator>NorthSouthGIS</dc:creator>
      <dc:date>2023-03-21T19:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271482#M51069</link>
      <description>&lt;P&gt;If I understand, "Text" option in popup is based on a "feature" output type from "Attribute Expressions"; whereas "Arcade" option allows return of "feature sets" which is vital for returning more than 1 result like it sounds like you are doing by creating and displaying a table?&lt;BR /&gt;&lt;BR /&gt;"Chart" option is the same. A chart based on a related table needs multiple values, so its based on the return of a feature set so the "Arcade" option has to be used, with the "chart template", not "Chart".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you're looking to output a single value from the expression, then it needs to be entered in "Attribute Expressions" and then referenced in "Text" or "Table". If you're looking to output a set of values as a feature set, then it needs to be completely built and designed in "Arcade".&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someone from Esri can correct me if I'm wrong, but that's what I've learned so far.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 18:25:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271482#M51069</guid>
      <dc:creator>Teresa_Blader</dc:creator>
      <dc:date>2023-03-24T18:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271561#M51072</link>
      <description>&lt;P&gt;To be clear, I don't have any issues with my script, just wanted to share for anyone out there in case it is useful. The 'Related Records' content type still requires you expand and drill down into a related record and you don't have much control over the configuration of what is displayed and how. This arcade script allows me to get all related record information, get the info I only care about from the related record table, and then display it in a nicely formatted html table.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 21:15:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271561#M51072</guid>
      <dc:creator>NorthSouthGIS</dc:creator>
      <dc:date>2023-03-24T21:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271562#M51073</link>
      <description>&lt;P&gt;Ha! I was trying to figure out what your question was... being posted in ArcGIS Online Questions...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 21:17:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271562#M51073</guid>
      <dc:creator>Teresa_Blader</dc:creator>
      <dc:date>2023-03-24T21:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271566#M51077</link>
      <description>&lt;P&gt;I didn't see an option to post any sort of blog post anymore in the Community. I think they updated it recently... Not sure&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 21:20:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271566#M51077</guid>
      <dc:creator>NorthSouthGIS</dc:creator>
      <dc:date>2023-03-24T21:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271568#M51078</link>
      <description>&lt;P&gt;Eh, it kind of makes sense as it is a question others may have! You can post on ArcGIS Online, if you back up one link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Teresa_Blader_0-1679693036506.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66245i0CBD530EB2AFD53D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Teresa_Blader_0-1679693036506.png" alt="Teresa_Blader_0-1679693036506.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Sorry for trolling your non-question!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 21:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1271568#M51078</guid>
      <dc:creator>Teresa_Blader</dc:creator>
      <dc:date>2023-03-24T21:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1284121#M51803</link>
      <description>&lt;P&gt;Just wanted to say thank you for posting this.&amp;nbsp; It was extremely helpful for some popups I was trying to create and had hit a wall.&amp;nbsp; This helped me push through and make the solution better than I originally envisioned.&amp;nbsp; Thanks a bunch!!&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 01:14:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1284121#M51803</guid>
      <dc:creator>Marshal</dc:creator>
      <dc:date>2023-04-29T01:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1343311#M55425</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/66217"&gt;@NorthSouthGIS&lt;/a&gt; .&amp;nbsp;&amp;nbsp; thanks for this Post!&amp;nbsp; do you have a screenshot of your Popup output?&amp;nbsp; I'm hoping your Post will help me get past my Related Records issue.&amp;nbsp; thx!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 15:24:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1343311#M55425</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-10-30T15:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1356351#M56214</link>
      <description>&lt;P&gt;was going to ask the same! I can get the express to pass the check and save, but I am still not able to see the data in the pop-up? I must be missing something here!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 16:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1356351#M56214</guid>
      <dc:creator>VanessaSimps</dc:creator>
      <dc:date>2023-12-04T16:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1362096#M56443</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Marshal_0-1702919290390.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/89365iD5C5009CAE7D79CC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Marshal_0-1702919290390.png" alt="Marshal_0-1702919290390.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It would look something like this.&amp;nbsp; Is the sharing configured appropriately on the related table service?&amp;nbsp; Users without sharing permissions on the related table service won't see the table in the popup.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 17:11:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1362096#M56443</guid>
      <dc:creator>Marshal</dc:creator>
      <dc:date>2023-12-18T17:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1557661#M62297</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/66217"&gt;@NorthSouthGIS&lt;/a&gt;&amp;nbsp; How would I bring all the related records with a table that looks like below. Using the 1st row of each record that is related to features using the 1 of # of records to each feature (repeating records) ?&amp;nbsp; I hope I am clear with my question.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TKSHEP_0-1731433572871.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119314i76692770096748A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TKSHEP_0-1731433572871.png" alt="TKSHEP_0-1731433572871.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TKSHEP_1-1731433714975.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119315iF971D2AD9832127E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TKSHEP_1-1731433714975.png" alt="TKSHEP_1-1731433714975.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TKSHEP_2-1731433740819.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/119316i9C5AB9385507722D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TKSHEP_2-1731433740819.png" alt="TKSHEP_2-1731433740819.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 17:49:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1557661#M62297</guid>
      <dc:creator>TKSHEP</dc:creator>
      <dc:date>2024-11-12T17:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1575588#M63160</link>
      <description>&lt;P&gt;How did you get 2 separate tables?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 20:33:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1575588#M63160</guid>
      <dc:creator>e_huynh161</dc:creator>
      <dc:date>2025-01-14T20:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1575927#M63179</link>
      <description>&lt;P&gt;Using a loop to build multiple tables as needed and pushing them into a list.&amp;nbsp; Then concatenating all tables from the list for the return statement.&amp;nbsp; Here is my working code, hope it helps!&lt;/P&gt;&lt;P data-unlink="true"&gt;Again, thanks to&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/66217"&gt;@NorthSouthGIS&lt;/a&gt;&amp;nbsp;for inspiring the solution that worked for me.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Establish a connection to the ArcGIS Portal
var portal_con = Portal('https://gis.domain.com/portal');

// Retrieve a feature set by Portal item ID and select relevant fields
var fs = FeatureSetByPortalItem(portal_con, '9d41bd4a518947a28ac549d48f1a6539', 0, 
    ['LEASE_NUMBER', 'COMPANY_NAME', 'ASGN_PCT', 'ALQT_ID', 'DESCRIPTION', 'AREA_BLOCK']);

// Active feature lease number for defining the filter
var lease = $feature.Lease;

// Define the query string to filter records based on the active lease
var lease_filter = 'LEASE_NUMBER = @lease';

// Filter the feature set using the lease filter
var records = Filter(fs, lease_filter);

// Initialize an empty list to store unique ALQT_IDs and a dictionary for descriptions
var alqs = [];  // List to hold retrieved ALQT_IDs
var descs = {};  // Dictionary to map ALQT_ID to legal descriptions

// Loop through the filtered records to populate ALQT_IDs and their descriptions
for (var record in records) {
    // Construct a description based on the record's DESCRIPTION and AREA_BLOCK
    var desc = '';
    if (IsEmpty(record.DESCRIPTION)) {
        desc = 'All of lease ' + lease + ' within block ' + record.AREA_BLOCK;
    } else {
        desc = record.DESCRIPTION + ' of block ' + record.AREA_BLOCK;
    }
    // Store the description in the dictionary, keyed by ALQT_ID
    descs[record.ALQT_ID] = desc;
    // Add the ALQT_ID to the list
    Push(alqs, record.ALQT_ID);
}

// Remove duplicate ALQT_IDs to ensure uniqueness
var alqs = Distinct(alqs);

// Initialize an empty list to hold the generated HTML tables
var tables = [];

// Check if there are any ALQT_IDs to process
if (!IsEmpty(alqs)) {
    // Loop through the distinct ALQT_IDs
    for (var alq in alqs) {
        var curr_alq = alqs[alq];  // Current ALQT_ID being processed
        var alq_filter = 'ALQT_ID = @curr_alq';  // Query string for filtering by ALQT_ID
        var alq_records = Filter(records, alq_filter);  // Filter records by the current ALQT_ID

        // Fields to be included in the output table
        var data_fields = ['COMPANY_NAME', 'ASGN_PCT'];

        // Initialize an empty list to store the HTML rows for the current table
        var rows = [];

        // Loop through the filtered records for the current ALQT_ID
        for (var alq_record in alq_records) {
            var row_data = [];  // Initialize a list to hold the data cells for the current row
            // Loop through the data fields to build each cell
            for (var field in data_fields) {
                Push(row_data, '&amp;lt;td style="border: 1px solid #ddd;padding: 8px;"&amp;gt;' + alq_record[data_fields[field]] + '&amp;lt;/td&amp;gt;');
            }
            // Combine the cells into an HTML row and add it to the rows list
            var row = '&amp;lt;tr style="border: 1px solid #ddd;padding: 8px;"&amp;gt;' + concatenate(row_data) + '&amp;lt;/tr&amp;gt;';
            Push(rows, row);
        }

        // Define the header fields for the table
        var header_fields = ['Company', 'Interest'];
        var headers = [];  // Initialize a list to hold the header cells

        // Loop through the header fields and create styled header cells
        for (var header_field in header_fields) {
            var field = header_fields[header_field];
            Push(headers, '&amp;lt;th style="color:black; border: 1px solid #A9A9A9;padding: 8px;background-color: #eee;"&amp;gt;' + field + '&amp;lt;/th&amp;gt;');
        }
        // Combine the header cells into an HTML header row
        var headerRow = '&amp;lt;tr style="border: 1px solid #A9A9A9;padding: 8px;"&amp;gt;' + concatenate(headers) + '&amp;lt;/tr&amp;gt;';

        // Construct the full HTML table, including the description and rows
        var table = '&amp;lt;h7&amp;gt;&amp;lt;b&amp;gt;' + descs[curr_alq] + '&amp;lt;/b&amp;gt;&amp;lt;/h7&amp;gt;' + 
                    '&amp;lt;table style="font-family: arial, sans-serif;border-collapse: collapse;text-align: left;"&amp;gt;' + 
                    headerRow + concatenate(rows) + '&amp;lt;/table&amp;gt;&amp;lt;/div&amp;gt;';
        // Add the table to the list of tables
        Push(tables, table);
    }

    // Combine all tables into a single output string, separated by line breaks
    var output_text = '&amp;lt;h3&amp;gt;Record Title Ownership&amp;lt;/h3&amp;gt;' + concatenate(tables, "&amp;lt;br&amp;gt;");
    // Return the output text as the result
    return { type: 'text', text: output_text };
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 19:06:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1575927#M63179</guid>
      <dc:creator>Marshal</dc:creator>
      <dc:date>2025-01-15T19:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1575929#M63180</link>
      <description>&lt;P&gt;I don't fully understand your question, but you might want to take a look at the code I shared.&amp;nbsp; It iterates over potentially multiple related record "groups" and builds tables for each of the "groups", which is what your screenshot appears to represent.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 19:10:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1575929#M63180</guid>
      <dc:creator>Marshal</dc:creator>
      <dc:date>2025-01-15T19:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Display related records in a popup in a nice table</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1602840#M64292</link>
      <description>&lt;P&gt;Thanks so much for posting this. It was very helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 15:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/display-related-records-in-a-popup-in-a-nice-table/m-p/1602840#M64292</guid>
      <dc:creator>hamini</dc:creator>
      <dc:date>2025-04-04T15:59:42Z</dc:date>
    </item>
  </channel>
</rss>

