<?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: View related data in pop-ups in arcgis online when you publish data in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/view-related-data-in-pop-ups-in-arcgis-online-when/m-p/1329194#M54625</link>
    <description>&lt;P&gt;You can use a relationshipclass&amp;nbsp; 1 to many and share that as a webmap.&lt;/P&gt;&lt;P&gt;Then in the popup configuration you could use an Arcade Expression to show multiple owners in the popup.&amp;nbsp; Something like this.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// hydrantowner is the relationship name
var relatedRecords = featuresetbyrelationshipname($feature, "hydrantowner");
// you can order the attributes returned in the related table field. ASC or DESC ascending descending
var orderRecord = orderBy(relatedRecords, "Owner DESC");
var ownerNames = ""

for (var f in orderRecord){
// Owner is the fieldname in the related tabel that I want to display
ownerNames += text(f.Owner) + textformatting.newline   
}
return ownerNames&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2023 18:10:00 GMT</pubDate>
    <dc:creator>MarkBockenhauer</dc:creator>
    <dc:date>2023-09-15T18:10:00Z</dc:date>
    <item>
      <title>View related data in pop-ups in arcgis online when you publish data</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/view-related-data-in-pop-ups-in-arcgis-online-when/m-p/1328587#M54588</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have a feature class containing property boundaries and a table containing the names of the owners of that property. Many properties have more than one owner. I must publish this data to ArcGIS Online and show which owners are associated with which property in a pop-up window.&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;should I set up RELATE or RELATIONSHIP CLASS before publishing?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can you help me choose method is most approciate and explain? I confuse&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 07:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/view-related-data-in-pop-ups-in-arcgis-online-when/m-p/1328587#M54588</guid>
      <dc:creator>HanhNguyen2</dc:creator>
      <dc:date>2023-09-14T07:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: View related data in pop-ups in arcgis online when you publish data</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/view-related-data-in-pop-ups-in-arcgis-online-when/m-p/1328991#M54611</link>
      <description>&lt;P&gt;Greetings&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/181117"&gt;@HanhNguyen2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommend that you check the documentation on &lt;A href="https://doc.arcgis.com/en/arcgis-online/analyze/join-features-mv.htm" target="_blank" rel="noopener"&gt;Join Features (Map Viewer)&lt;/A&gt; and the &lt;A href="https://learn.arcgis.com/en/projects/join-a-table-to-a-feature-layer-in-arcgis-online/" target="_blank" rel="noopener"&gt;Join a table to a feature layer&lt;/A&gt; tutorial which should guide you on how to accomplish what you need.&amp;nbsp; Then, for further guidance on the pop-up configuration, please check &lt;A href="https://doc.arcgis.com/en/arcgis-online/create-maps/configure-pop-ups-mv.htm" target="_blank" rel="noopener"&gt;Configure pop-ups (Map Viewer)&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I hope that helps.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 07:06:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/view-related-data-in-pop-ups-in-arcgis-online-when/m-p/1328991#M54611</guid>
      <dc:creator>MiguelParedes</dc:creator>
      <dc:date>2023-09-15T07:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: View related data in pop-ups in arcgis online when you publish data</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/view-related-data-in-pop-ups-in-arcgis-online-when/m-p/1329194#M54625</link>
      <description>&lt;P&gt;You can use a relationshipclass&amp;nbsp; 1 to many and share that as a webmap.&lt;/P&gt;&lt;P&gt;Then in the popup configuration you could use an Arcade Expression to show multiple owners in the popup.&amp;nbsp; Something like this.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// hydrantowner is the relationship name
var relatedRecords = featuresetbyrelationshipname($feature, "hydrantowner");
// you can order the attributes returned in the related table field. ASC or DESC ascending descending
var orderRecord = orderBy(relatedRecords, "Owner DESC");
var ownerNames = ""

for (var f in orderRecord){
// Owner is the fieldname in the related tabel that I want to display
ownerNames += text(f.Owner) + textformatting.newline   
}
return ownerNames&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 18:10:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/view-related-data-in-pop-ups-in-arcgis-online-when/m-p/1329194#M54625</guid>
      <dc:creator>MarkBockenhauer</dc:creator>
      <dc:date>2023-09-15T18:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: View related data in pop-ups in arcgis online when you publish data</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/view-related-data-in-pop-ups-in-arcgis-online-when/m-p/1332195#M54745</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/181117"&gt;@HanhNguyen2&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you set up a Relationship Class between the Properties Layer and the Owners table prior to publishing the feature service to ArcGIS Online, then you can configure the pop-up to show the related (owner) records in the Properties layer pop-up. For more information on how to do that, check out our previous blog article, &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/rolling-out-related-records-in-map-viewer/" target="_self"&gt;Rolling Out Related Records in Map Viewer&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 22:43:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/view-related-data-in-pop-ups-in-arcgis-online-when/m-p/1332195#M54745</guid>
      <dc:creator>EmilyGeo</dc:creator>
      <dc:date>2023-09-25T22:43:47Z</dc:date>
    </item>
  </channel>
</rss>

