<?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 Create a link with Arcade based on an (1:M relation) , without reopening the same Webmap. in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/create-a-link-with-arcade-based-on-an-1-m-relation/m-p/1302838#M53061</link>
    <description>&lt;P&gt;Hello World,&lt;/P&gt;&lt;P&gt;Based on the a related (1:M) table, Enterprise 10.9.1.&amp;nbsp; I need to define the link to navigate to the source application.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I do get X (based on available names) separate bullets with links. If I copy/paste the link it is working. But If I click it, to start it within the PopUp, it will open the current WebMap again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Current result:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manniej_1-1687757166286.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74121i3D300A5E6B7D84ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manniej_1-1687757166286.png" alt="Manniej_1-1687757166286.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I do have a feeling that I still need the concatenate somehow, but I do not get it fit in. If I use it at the end, it will cluster the multiple links again.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var relatedtabel = FeatureSetByRelationshipName($feature,"XXXXX.SourceTable",["IDfield"]);
console (relatedtabel)

var related_results = [];
for (var row in relatedtabel){
    push(related_results,"FirstStaticPartOfTheLink" + row.IDfield + "SecondStaticPartOfTheLink");
    
}
if(Count(related_results) == 0){
    return "No Info" 
}

var apple = slice(related_results);
return apple; &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thank you in advanced.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2023 05:31:55 GMT</pubDate>
    <dc:creator>Manniej</dc:creator>
    <dc:date>2023-06-26T05:31:55Z</dc:date>
    <item>
      <title>Create a link with Arcade based on an (1:M relation) , without reopening the same Webmap.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-a-link-with-arcade-based-on-an-1-m-relation/m-p/1302838#M53061</link>
      <description>&lt;P&gt;Hello World,&lt;/P&gt;&lt;P&gt;Based on the a related (1:M) table, Enterprise 10.9.1.&amp;nbsp; I need to define the link to navigate to the source application.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I do get X (based on available names) separate bullets with links. If I copy/paste the link it is working. But If I click it, to start it within the PopUp, it will open the current WebMap again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Current result:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Manniej_1-1687757166286.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74121i3D300A5E6B7D84ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Manniej_1-1687757166286.png" alt="Manniej_1-1687757166286.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I do have a feeling that I still need the concatenate somehow, but I do not get it fit in. If I use it at the end, it will cluster the multiple links again.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var relatedtabel = FeatureSetByRelationshipName($feature,"XXXXX.SourceTable",["IDfield"]);
console (relatedtabel)

var related_results = [];
for (var row in relatedtabel){
    push(related_results,"FirstStaticPartOfTheLink" + row.IDfield + "SecondStaticPartOfTheLink");
    
}
if(Count(related_results) == 0){
    return "No Info" 
}

var apple = slice(related_results);
return apple; &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thank you in advanced.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 05:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-a-link-with-arcade-based-on-an-1-m-relation/m-p/1302838#M53061</guid>
      <dc:creator>Manniej</dc:creator>
      <dc:date>2023-06-26T05:31:55Z</dc:date>
    </item>
  </channel>
</rss>

